File: rules

package info (click to toggle)
pigz 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: ansic: 6,383; makefile: 93; sh: 6
file content (22 lines) | stat: -rwxr-xr-x 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-include /usr/share/quilt/quilt.make

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- LDFLAGS="-lz $(LDFLAGS)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)"

override_dh_install:
	dh_testdir
	dh_testroot
	dh_prep  
	dh_installdirs
	cp -l pigz $(CURDIR)/debian/pigz/usr/bin
	cp -l pigz $(CURDIR)/debian/pigz/usr/bin/unpigz
	dh_installman pigz.1
	ln -sf pigz.1.gz debian/pigz/usr/share/man/man1/unpigz.1.gz