File: rules

package info (click to toggle)
cdcd 0.6.6-13.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 1,532 kB
  • sloc: ansic: 4,892; sh: 2,142; makefile: 29
file content (23 lines) | stat: -rwxr-xr-x 587 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

%:
	dh ${@}

override_dh_auto_clean:
	dh_auto_clean
	rm -f config.guess config.sub

override_dh_auto_configure:
	cp -f /usr/share/misc/config.guess .
	cp -f /usr/share/misc/config.sub .
	dh_auto_configure

override_dh_auto_install:
	$(MAKE) prefix=$(CURDIR)/debian/cdcd/usr mandir=$(CURDIR)/debian/cdcd/usr/share/man infodir=$(CURDIR)/debian/cdcd/usr/share/info install
	install -D -m 0644 debian/local/bashrc debian/cdcd/etc/bash_completion.d/cdcd
	# Remove useless files.
	rm -f debian/cdcd/usr/share/info/dir*

override_dh_strip:
	dh_strip --dbg-package=cdcd-dbg