#! /usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PACKAGE=apel ELDIR=$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE) build-indep: build-indep-stamp build-indep-stamp: dh_testdir touch $@ build-arch: build: build-indep build-arch clean: dh_testdir dh_testroot rm -f *build*-stamp dh_clean install: build-indep dh_testdir dh_testroot dh_prep dh_installdirs cp Makefile EMU-* APEL-* *.el $(ELDIR)/ # Do not install obsolete files for f in env.el timezone.el time-stamp.el; do \ if [ -f $(ELDIR)/$$f ]; then rm -f $(ELDIR)/$$f; fi; \ done binary-indep: install dh_testdir dh_testroot dh_installemacsen --priority=20 dh_installdocs dh_installchangelogs ChangeLog dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-arch: binary: binary-indep binary-arch .PHONY: build-indep build-arch build clean binary-indep binary-arch binary