2 # Debian rules file for gzip, requires the debhelper package.
3 # Crafted by Bdale Garbee, bdale@gag.com, 5 November 2000
5 # Comment this to turn off debhelper verbose mode.
8 # This is the debhelper compatibility version to use.
13 configure: configure-stamp
16 CFLAGS=$(CFLAGS) ./configure \
18 --infodir=`pwd`/debian/gzip/usr/share/info \
19 --mandir=`pwd`/debian/gzip/usr/share/man
22 build: configure-stamp build-stamp
31 -rm -f build-stamp configure-stamp
32 make distclean || exit 0
41 make install prefix=debian/gzip/usr bindir=debian/gzip/bin \
42 scriptdir=debian/gzip/usr/bin
43 ln debian/gzip/bin/gzip debian/gzip/bin/uncompress
45 binary-indep: build install
47 binary-arch: build install
50 dh_installdocs README* TODO
52 dh_installinfo gzip.info
57 ln -s gunzip.1.gz debian/gzip/usr/share/man/man1/uncompress.1.gz
58 ln -s zgrep.1.gz debian/gzip/usr/share/man/man1/zegrep.1.gz
59 ln -s zgrep.1.gz debian/gzip/usr/share/man/man1/zfgrep.1.gz
61 # You may want to make some executables suid here.
69 binary: binary-indep binary-arch
70 .PHONY: build clean binary-indep binary-arch binary install configure