File: rules

package info (click to toggle)
libtext-multimarkdown-perl 1.000035-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,788 kB
  • sloc: perl: 2,186; makefile: 9
file content (13 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
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	mv -v $(TMP)/usr/bin/MultiMarkdown.pl $(TMP)/usr/bin/multimarkdown
	sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/multimarkdown
	mv -v $(TMP)/usr/share/man/man1/MultiMarkdown.pl.1p $(TMP)/usr/share/man/man1/multimarkdown.1p