File: rules

package info (click to toggle)
simplesamlphp 1.14.11-1%2Bdeb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,024 kB
  • sloc: php: 72,337; xml: 1,078; python: 376; sh: 220; perl: 185; makefile: 57
file content (61 lines) | stat: -rwxr-xr-x 2,592 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/make -f

clean:
	dh_testdir
	dh_testroot
	dh_clean

install:
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
	dh_install
	dh_installdocs
	dh_installexamples
	dh_installchangelogs docs/simplesamlphp-changelog.txt
	rm debian/simplesamlphp/usr/share/doc/simplesamlphp/simplesamlphp-changelog.txt
	rm -r debian/simplesamlphp/usr/share/simplesamlphp/vendor/openid/php-openid/*
	dh_link
	dh_compress
	find debian/simplesamlphp -name .gitignore -delete
	rm debian/simplesamlphp/usr/share/simplesamlphp/modules/InfoCard/lib/RP/LICENSE.txt \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/aggregator/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/aggregator2/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/autotest/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/consentSimpleAdmin/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/logpeek/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/metaedit/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/modinfo/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/openid/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/openidProvider/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/saml2debug/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/modules/oauth/libextinc/LICENSE.txt \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/composer/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/psr/log/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/robrichards/xmlseclibs/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/simplesamlphp/composer-module-installer/COPYING \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/simplesamlphp/composer-module-installer/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/simplesamlphp/saml2/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/whitehat101/apr1-md5/LICENSE
	find . -type f -executable -not -path '*/bin/*' | xargs chmod -x
	dh_fixperms
	chgrp www-data debian/simplesamlphp/var/lib/simplesamlphp/data \
		debian/simplesamlphp/var/log/simplesamlphp
	chmod u=rwx,g=wx,o= debian/simplesamlphp/var/lib/simplesamlphp/data \
		debian/simplesamlphp/var/log/simplesamlphp
	dh_lintian
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp:

binary-indep: install
binary: binary-indep
binary-arch: binary-indep
.PHONY: clean install