davical/debian/rules
Florian Schlichting 3ba605288f release 1.1.6
2017-10-25 11:48:43 +02:00

25 lines
609 B
Makefile
Executable File

#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
get-orig-source:
make clean
git clean -idx
tar cJf ../davical_$(DEB_VERSION_UPSTREAM).orig.tar.xz --exclude-vcs --exclude=.gitattributes --exclude=debian .
%:
dh $@
override_dh_auto_build:
make all
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
rm debian/davical/usr/share/davical/htdocs/.htaccess || true
rm -f debian/davical/usr/share/doc/davical/examples/apache-davical.conf \
debian/davical/usr/share/doc/davical/examples/example-config.php
override_dh_installdocs:
dh_installdocs
jdupes -rl debian/davical-doc/