File: rules

package info (click to toggle)
libcurses-perl 1.37-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 932 kB
  • sloc: ansic: 9,143; perl: 1,432; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- PANELS MENUS FORMS

override_dh_installchangelogs:
	dh_installchangelogs HISTORY

override_dh_installexamples:
	dh_installexamples
	sed -i '1s|^#! /usr//bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*