File: rules

package info (click to toggle)
libdate-manip-perl 6.76-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,228 kB
  • sloc: perl: 246,208; sh: 54; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# installed as examples
	$(RM) -v $(TMP)/usr/bin/dm_* $(TMP)/usr/share/man/man1/dm_*
	rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/bin $(TMP)/usr/share/man/man1

override_dh_installchangelogs:
	pod2text --loose --utf8 $(TMP)/usr/share/perl5/Date/Manip/Changes6.pod > $(CURDIR)/Changes6
	dh_installchangelogs $(CURDIR)/Changes6