#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # This file is public domain software, originally written by Joey Hess. DPKG_EXPORT_BUILDFLAGS=1 -include /usr/share/dpkg/buildflags.mk source-clean: @echo Running distclean if possible $(MAKE) distclean || true @echo Cleaning autotools files... find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \; find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \ -o -name depcomp -o -name ltmain.sh -o -name configure \ -o -name config.sub -o -name config.guess -o -name config.h.in \ -o -name Makefile.in -o -name aclocal.m4 -o -name config.rpath \ \) -print0 | xargs -0 rm -f rm -f INSTALL acinclude.m4 po/Makefile.in.in po/Rules-quot po/boldquot.sed \ po/cs.gmo po/sv.gmo po/de.gmo po/el.gmo po/en@boldquot.header po/en@quot.header \ po/es_AR.gmo po/insert-header.sin po/pl.gmo po/quot.sed \ po/remove-potcdate.sin po/stamp-po ABOUT-NLS config.h.in \ po/Makevars.template rm -rf m4 source: source-clean @echo Running autoreconf... autoreconf --force --install rm -rf autom4te.cache %: dh "$@" override_dh_auto_configure: # We don't need to embed full path as gzip will be used inside # popen() which uses a shell and thus has PATH. dh_auto_configure -- GZIP=/bin/gzip BZIP2=/bin/bzip2 override_dh_auto_build: touch src/gaaout.c src/gaa.h po/mcrypt.pot dh_auto_build