File: rules

package info (click to toggle)
libhttp-oai-perl 4.03-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 416 kB
  • ctags: 326
  • sloc: perl: 2,531; xml: 224; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	mv $(TMP)/usr/bin/oai_browser.pl $(TMP)/usr/bin/oai_browser
	mv $(TMP)/usr/bin/oai_pmh.pl $(TMP)/usr/bin/oai_pmh
	mv $(TMP)/usr/share/man/man1/oai_browser.pl.1p \
	   $(TMP)/usr/share/man/man1/oai_browser.1p
	mv $(TMP)/usr/share/man/man1/oai_pmh.pl.1p \
	   $(TMP)/usr/share/man/man1/oai_pmh.1p