davical/debian/rules
Florian Schlichting 93ea4e47f6 separate rebuild-translations and building locale/
'make' (or 'make all', if one is interested in the apidoc) should now
do everything needed to run from a git checkout. At the same time,
it no longer rebuilds all translations (xgettext run etc.). This
can be done with 'make translations'.
2016-12-01 21:02:53 +01:00

19 lines
401 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:
make all
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
rm debian/davical/usr/share/davical/htdocs/.htaccess || true