davical/debian/rules
Florian Schlichting 658daa6d60 release 1.1.4
2016-01-11 23:57:09 +01:00

20 lines
508 B
Makefile
Executable File

#!/usr/bin/make -f
VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
get-orig-source:
make clean
tar cJf ../davical_$(VERSION).orig.tar.xz --exclude-vcs --exclude=.gitattributes --exclude=debian .
%:
dh $@
override_dh_auto_build:
@echo "NOTE: not calling make, do this before building the package and review / commit the result"
make built-docs
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
rm debian/davical/usr/share/davical/htdocs/.htaccess || true