File: rules

package info (click to toggle)
php-auth 1.2.4-0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 228 kB
  • ctags: 396
  • sloc: php: 1,581; xml: 157; makefile: 25
file content (38 lines) | stat: -rwxr-xr-x 767 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
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/make -f

build:
	# Nothing to do here

clean:
	dh_testdir
	dh_testroot
	dh_clean

binary: binary-arch binary-indep
	# Nothing to do here

binary-arch:
	# Nothing to do here

binary-indep:
	dh_testdir
	dh_installdirs
	
	# Custom package actions
	cp Auth.php debian/php-auth/usr/share/php/
	cp -r Auth/ debian/php-auth/usr/share/php/
	cp -r Container/ debian/php-auth/usr/share/php/Auth/
	cp Container.php debian/php-auth/usr/share/php/Auth/
	cp -r tests/ debian/php-auth/usr/share/php/tests/Auth/
	cp README.Auth debian/php-auth/usr/share/doc/php-auth/
	
	# Rest of the debhelper scripts
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_fixperms
	dh_compress
	dh_gencontrol
	dh_md5sums
	dh_builddeb
.PHONY: binary binary-arch binary-indep build clean