#!/usr/bin/make -f # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # Hardening export DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/buildtools.mk CC_FOR_BUILD ?= cc # does nothing. build: build-arch: build build-indep: build build-jove: dh_testdir # $(MAKE) dh_auto_build -- SYSDEFS="$(CFLAGS) $(CPPFLAGS) -DSYSVR4 -D_XOPEN_SOURCE=500 -DJLGBUFSIZ=14" 'LOCALCC=$(CC_FOR_BUILD)' binary: binary-arch binary-indep binary-arch: build install dh_testdir dh_testroot dh_installdebconf dh_installdocs # dh_installexamples dh_installmenu dh_installinit -r -- start 20 2 3 4 5 . # dh_installcron dh_installchangelogs -k version.h dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol -pjove dh_md5sums -pjove dh_builddeb -pjove # dh_gencontrol or something seem to not honour DH_OPTIONS binary-indep: build install # does nothing. install: build install-jove install-jove: build-jove export DH_OPTIONS=-pjove dh_testdir dh_testroot dh_installdirs $(MAKE) install DESTDIR=`pwd`/debian/jove clean: dh_testdir dh_testroot $(MAKE) clean debconf-updatepo dh_clean # Local Variables: # mode: makefile # End variables