File: rules

package info (click to toggle)
libapache-gallery-perl 1.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,260 kB
  • sloc: perl: 1,281; sh: 21; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 622 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@

# install templates and icons
override_dh_auto_install:
	dh_auto_install;
	cp -r templates/* debian/libapache-gallery-perl/usr/share/libapache-gallery-perl/templates/.;
	cp -r htdocs/* debian/libapache-gallery-perl/usr/share/libapache-gallery-perl/icons/.;

# put the missing icons in place
override_dh_auto_configure:
	dh_auto_configure;
	uudecode -o htdocs/text-txt.png debian/text-text.png.uuencode
	uudecode -o htdocs/text-html.png debian/text-html.png.uuencode

# remove the missing icons on clean
override_dh_auto_clean:
	dh_auto_clean;
	rm -f htdocs/text-txt.png htdocs/text-html.png