1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION_UPSTREAM
DESTDIR=$(CURDIR)/debian/tmp
ELPA_NAME_dh-elpa=dh-elpa
%:
dh $@
override_dh_auto_build:
pod2man -c Debhelper --section=1 dh_elpa > dh_elpa.1
pod2man -c Debhelper --section=1 dh_elpa_test > dh_elpa_test.1
override_dh_install:
dh_install
dh_installman dh_elpa.1 dh_elpa_test.1
./dh_elpa --no-byte-compile
override_dh_auto_install:
install -m 755 -D dh_elpa $(DESTDIR)/usr/bin/dh_elpa
install -m 755 -D dh_elpa_test $(DESTDIR)/usr/bin/dh_elpa_test
|