File: rules

package info (click to toggle)
libmodule-scandeps-perl 0.98-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 576 kB
  • ctags: 231
  • sloc: perl: 3,910; makefile: 10; ansic: 1
file content (16 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@

CMD=$(subst override_,,$@)

TMP=debian/$(shell dh_listpackages)

override_dh_compress:
	[ ! -f $(TMP)/usr/bin/scandeps.pl ] || \
		mv $(TMP)/usr/bin/scandeps.pl $(TMP)/usr/bin/scandeps
	[ ! -f $(TMP)/usr/share/man/man1/scandeps.pl.1p ] || \
		mv $(TMP)/usr/share/man/man1/scandeps.pl.1p $(TMP)/usr/share/man/man1/scandeps.1p
	$(CMD)