-tmp_dir := $(CURDIR)/debian/tmp
-
-build:
-# Call the test suite
- $(MAKE) test
-
-clean:
- dh_testdir
- dh_testroot
- #something to remove all trace and *.trace files?
- dh_clean build-stamp
-
-binary-arch:
-# nothing to do, as there aren't any architecture-dependent packages
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) install_mostfiles DESTDIR=$(tmp_dir)
- dh_installdocs
- dh_installchangelogs
- dh_strip
- dh_compress -X examples/text
- dh_fixperms
- #chown bugs.bugs $(var_dir)/spool/incoming
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean install binary-indep binary-arch binary