b96e4c6b19
tinc (1.0.11-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. tinc (1.0.11-1) unstable; urgency=low * New upstream release. * Cope with texi2html arbitrarily changing its output directory. Closes: #552927 * Do not stop tinc when configuring a new version, just restart after the upgrade.
21 lines
875 B
Makefile
Executable file
21 lines
875 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
|
|
|
|
# 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 -rf src/device.c doc/tinc
|
|
build/tinc::
|
|
cd doc && $(MAKE) texi2html
|
|
binary-post-install/tinc::
|
|
# Guess where texi2html installed its output today...
|
|
[ -f doc/tinc/tinc.html ] \
|
|
&& mv -v doc/tinc/*.html debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/ \
|
|
|| mv -v doc/*.html debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/
|
|
rm -f debian/$(cdbs_curpkg)/usr/share/info/dir*
|
|
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
|