1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildtools.mk
include /usr/share/dpkg/buildflags.mk
CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS += -lz -lbz2
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
XP=xsltproc -''-nonet
%:
dh $@
override_dh_auto_build:
dh_auto_build -- linux-utf8 CC="$(CC)" CPP="$(CXX)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
$(XP) -o debian/unalz.1 $(DB2MAN) debian/unalz.dbk
iconv -f EUC-KR -t UTF-8 < readme.txt > debian/readme.txt
override_dh_auto_install:
override_dh_auto_clean:
rm -f debian/unalz.1
rm -f debian/readme.txt
dh_auto_clean
override_dh_installman:
dh_installman debian/unalz.1
|