mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
20 lines
508 B
Makefile
Executable File
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
|
|
|