1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
export DH_VERBOSE = 1
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/architecture.mk
BUILDDIR=debian/build-$(DEB_HOST_GNU_TYPE)
%:
dh $@ --sourcedirectory=libtrellis/ -B$(BUILDDIR) --with=python3
override_dh_auto_configure:
dh_auto_configure -- \
-DCURRENT_GIT_VERSION=$(DEB_VERSION)
HELP2MAN_FLAGS := \
--name="Project Trellis" \
--version-string="$(DEB_VERSION)" \
--section=1 \
--manual="General Commands" \
--no-info \
--no-discard-stderr
override_dh_installman:
for exe in debian/tmp/usr/bin/ec*; do \
help2man $(HELP2MAN_FLAGS) $$exe > debian/tmp/$$(basename $$exe).1; \
done
dh_installman
|