2002-04-11 07:26:14 +00:00
|
|
|
#!/usr/bin/make -f
|
2011-08-07 08:57:15 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
|
|
# dh-make output file, you may use that output file without restriction.
|
|
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
2002-04-11 07:26:14 +00:00
|
|
|
|
2011-08-07 08:57:15 +00:00
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
2002-04-11 07:26:14 +00:00
|
|
|
|
2012-10-14 21:51:21 +00:00
|
|
|
#include /usr/share/dpkg/buildflags.mk
|
|
|
|
|
2011-08-07 08:57:15 +00:00
|
|
|
%:
|
2016-04-24 12:51:14 +00:00
|
|
|
dh $@ --parallel --with python2
|
2012-10-14 21:51:21 +00:00
|
|
|
|
|
|
|
override_dh_auto_configure:
|
2016-09-26 19:35:35 +00:00
|
|
|
dh_auto_configure -- --enable-uml --enable-vde --with-systemd
|
2013-08-14 14:13:43 +00:00
|
|
|
$(MAKE) clean
|
2019-01-28 20:54:45 +00:00
|
|
|
|
2010-04-13 10:06:36 +00:00
|
|
|
override_dh_auto_install:
|
2013-08-14 13:34:41 +00:00
|
|
|
dh_auto_install -- install-html
|
2010-04-13 10:06:36 +00:00
|
|
|
# Remove info dir file
|
|
|
|
rm -f debian/tinc/usr/share/info/dir
|
2011-08-07 08:57:15 +00:00
|
|
|
|
2013-09-08 16:00:28 +00:00
|
|
|
override_dh_auto_test:
|
|
|
|
# Don't run the tests, it involves starting tinc daemons and making network connections.
|
|
|
|
# I don't think the autobuilders will like this.
|
|
|
|
|
2011-08-07 08:57:15 +00:00
|
|
|
override_dh_installinit:
|
2015-01-08 13:51:34 +00:00
|
|
|
dh_installinit -r
|