| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Sample debian/rules that uses debhelper. |
| 4 |
# This file was originally written by Joey Hess and Craig Small. |
| 5 |
# As a special exception, when this file is copied by dh-make into a |
| 6 |
# dh-make output file, you may use that output file without restriction. |
| 7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
| 8 |
|
| 9 |
# Uncomment this to turn on verbose mode. |
| 10 |
#export DH_VERBOSE=1 |
| 11 |
|
| 12 |
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17 |
| 13 |
|
| 14 |
export ACLOCAL=aclocal -I config |
| 15 |
|
| 16 |
%: |
| 17 |
dh $@ |
| 18 |
|
| 19 |
override_dh_auto_configure: |
| 20 |
dh_auto_configure -- CPPFLAGS="$(CPPFLAGS) $(shell pkg-config --cflags lua5.1)" --with-lua-suffix=5.1 |
| 21 |
|
| 22 |
override_dh_auto_install: |
| 23 |
dh_auto_install |
| 24 |
mv debian/diod/etc/auto.diod debian/diod/usr/share/doc/diod/examples |
| 25 |
rm -r debian/diod/etc/systemd |