File: rules

package info (click to toggle)
icingaweb2 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 29,884 kB
  • ctags: 41,392
  • sloc: php: 187,669; sql: 194; sh: 116; python: 115; xml: 94; makefile: 69
file content (26 lines) | stat: -rwxr-xr-x 665 bytes parent folder | download
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
26
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@ --with bash_completion

override_dh_auto_clean:
	dh_auto_clean
	cd debian/uglify && $(MAKE) clean

override_dh_install:
	dh_install -X.min.js -X.min.map -XSOURCE
	cp -r debian/uglify/*.min.* debian/icingaweb2/usr/share/icingaweb2/public/js/vendor/
	mkdir -p debian/php-icinga/usr/share/doc/php-icinga
	cp library/vendor/Zend/README.md debian/php-icinga/usr/share/doc/php-icinga/README-ZF1.md

override_dh_auto_test:
	dh_auto_test
	# test if php-htmlpurifier can be loaded
	php debian/test/php-htmlpurifier.php

override_dh_auto_build:
	dh_auto_build
	cd debian/uglify && $(MAKE) all

# vi: ts=4 sw=4 noexpandtab :