File: rules

package info (click to toggle)
cdlabelgen 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 856 kB
  • sloc: perl: 1,409; makefile: 60
file content (23 lines) | stat: -rwxr-xr-x 736 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
22
23
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	# trigger a rebuild of the man page
	touch $(CURDIR) cdlabelgen.pod
	dh_auto_build

#	# copy over the black & white version of the debian logo
#	cp -p $(CURDIR)/debian/debian-bw.eps $(CURDIR)/debian/cdlabelgen/usr/share/cdlabelgen/

override_dh_auto_install:
	install -d -m 0755 $(CURDIR)/debian/cdlabelgen/usr/share/man/man1
	$(MAKE) install BASE_DIR=$(CURDIR)/debian/cdlabelgen/usr
	# copy over the black & white version of the debian logo
	cp -p $(CURDIR)/debian/debian-bw.eps $(CURDIR)/debian/cdlabelgen/usr/share/cdlabelgen/