1
0
Fork 0
dokuwiki-templates-extra/debian/rules

26 lines
596 B
Text
Raw Normal View History

#!/usr/bin/make -f
TEMPLATES_VERSION = 55
DOKUWIKI_DEPENDS_LOW = 2024-02-06
DOKUWIKI_DEPENDS_HIGH = 2026
%:
dh ${@}
execute_after_dh_auto_clean:
rm -f templates/current
execute_before_dh_auto_build:
ln -s $(TEMPLATES_VERSION) templates/current
execute_after_dh_auto_install:
# removing unused files
rm -f debian/dokuwiki-templates-extra/usr/share/doc/*/CHANGELOG.txt
rm -f debian/dokuwiki-templates-extra/usr/share/doc/*/LICENSE.txt
override_dh_gencontrol:
dh_gencontrol -- \
-Vdokuwiki:Depends:low="$(DOKUWIKI_DEPENDS_LOW)" \
-Vdokuwiki:Depends:high="$(DOKUWIKI_DEPENDS_HIGH)"