tinc/debian/rules
Guus Sliepen 458d509a4f Import Debian changes 1.0.4-2
tinc (1.0.4-2) unstable; urgency=low

  * Compensate for change in texinfo's output directory. Closes: #318562
  * Include Czech translation of the debconf questions. Closes: #312982
2019-08-26 13:44:36 +02:00

19 lines
698 B
Makefile
Executable file

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_EXTRA_FLAGS = --enable-tracing
# A bit of a kludge, we have our own init.d handling in postinst, but
# cdbs calls dh_installinit anyway.
DEB_DH_INSTALLINIT_ARGS = -n
clean::
rm -f src/device.c
build/tinc::
cd doc && $(MAKE) texi2html
binary-post-install/tinc::
mv -v doc/tinc/*.html debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/
cd debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/ && tar xzf ../../../../../../doc/sample-config.tar.gz && mv sample-config examples && rm -rf examples/CVS examples/hosts/CVS