File: rules

package info (click to toggle)
dokuwiki-plugins-extra 20241201-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,092 kB
  • sloc: php: 2,543; javascript: 115; makefile: 112; sh: 76
file content (25 lines) | stat: -rwxr-xr-x 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

PLUGINS_VERSION = 55

DOKUWIKI_DEPENDS_LOW = 2024-02-06
DOKUWIKI_DEPENDS_HIGH = 2026

%:
	dh ${@}

execute_after_dh_auto_clean:
	rm -f plugins/current

execute_before_dh_auto_build:
	ln -s $(PLUGINS_VERSION) plugins/current

execute_after_dh_auto_install:
	# removing unused files
	rm -f debian/dokuwiki-plugins-extra/usr/share/doc/*/CHANGELOG.txt
	rm -f debian/dokuwiki-plugins-extra/usr/share/doc/*/LICENSE.txt

override_dh_gencontrol:
	dh_gencontrol -- \
		-Vdokuwiki:Depends:low="$(DOKUWIKI_DEPENDS_LOW)" \
		-Vdokuwiki:Depends:high="$(DOKUWIKI_DEPENDS_HIGH)"