File: rules

package info (click to toggle)
libtext-ngrams-perl 2.005-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 388 kB
  • ctags: 46
  • sloc: perl: 670; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	file-rename -v 's/\.pl//' $(TMP)/usr/bin/*.pl
	file-rename -v 's/\.pl//' $(TMP)/usr/share/man/man1/*
	rm $(TMP)/usr/share/perl5/Text/ngrams.pl