File: rules

package info (click to toggle)
rename 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 192 kB
  • sloc: perl: 271; sh: 12; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# rename is an alternative, and file-rename is upstream's choice of
	# alternative name (see Build.PL)
	mv -v $(TMP)/usr/bin/rename $(TMP)/usr/bin/file-rename
	mv -v $(TMP)/usr/share/man/man1/rename.1p $(TMP)/usr/share/man/man1/file-rename.1p