File: rules

package info (click to toggle)
simplesamlphp 1.16.3-1%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,036 kB
  • sloc: php: 73,175; ansic: 875; sh: 83; perl: 82; xml: 52; makefile: 46
file content (51 lines) | stat: -rwxr-xr-x 1,784 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
#!/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.md
	rm debian/simplesamlphp/usr/share/doc/simplesamlphp/simplesamlphp-changelog.md
	dh_link
	dh_compress
	find debian/simplesamlphp -name .gitignore -delete
	rm 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/saml2/LICENSE \
	   debian/simplesamlphp/usr/share/simplesamlphp/vendor/whitehat101/apr1-md5/LICENSE \
           debian/simplesamlphp/usr/share/simplesamlphp/vendor/gettext/gettext/LICENSE \
           debian/simplesamlphp/usr/share/simplesamlphp/vendor/gettext/languages/LICENSE \
           debian/simplesamlphp/usr/share/simplesamlphp/vendor/twig/extensions/LICENSE \
           debian/simplesamlphp/usr/share/simplesamlphp/vendor/twig/twig/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