File: rules

package info (click to toggle)
geshi 1.0.8.11-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,540 kB
  • ctags: 5,865
  • sloc: php: 51,797; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 603 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk

# In order to regenerate 'debian/control' :
#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
# Then check manually if everything's ok

DEB_DH_BUILDDEB_ARGS = -- -Zxz
DEB_INSTALL_CHANGELOGS_php-geshi := docs/CHANGES

clean::
	# fix #685324
	rm -f contrib/cssgen.php

binary-predeb/php-geshi::
	find debian/php-geshi -depth \( -name ".cvsignore" -o -name ".arch-ids" -o -name '*.swp' \) -exec rm -rf {} \;
	find debian/php-geshi -type f -executable -exec chmod -x {} \;