#!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildtools.mk include /usr/share/dpkg/buildflags.mk # we need this for the poorly written upstream makefile 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