File: rules

package info (click to toggle)
php-doc 20241205~git.dfcbb86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 70,956 kB
  • sloc: xml: 968,269; php: 23,883; javascript: 671; sh: 177; makefile: 37
file content (20 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	php doc-base/configure.php
	dh_auto_configure $@

override_dh_auto_build:
	php phd/render.php -P PHP --docbook doc-base/.manual.xml --format xhtml
	mv output/php-chunked-xhtml output/html
	dh_auto_build $@

override_dh_auto_clean:
	find en -name entities.\*.xml ! -path en/reference/rpminfo/entities.functions.xml -exec rm -f '{}' \;
	dh_auto_clean $@