File: rules

package info (click to toggle)
libapache2-mod-fcgid 1:2.3.9-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,456 kB
  • sloc: ansic: 5,912; xml: 1,052; sh: 118; sed: 64; awk: 37; makefile: 21
file content (32 lines) | stat: -rwxr-xr-x 718 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
#!/usr/bin/make -f
# -*- makefile -*-

# TODO: distclean?

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with apache2

override_dh_auto_configure:
	APXS=apxs2 ./configure.apxs

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp/

override_dh_install:
	dh_install --fail-missing \
	  -X/usr/share/apache2/default-site/htdocs/manual \
	  -X/etc/apache2

override_dh_installchangelogs:
	dh_installchangelogs CHANGES-FCGID

override_dh_strip:
	dh_strip --dbgsym-migration='libapache2-mod-fcgid-dbg (<< 1:2.3.9-2~)'


override_dh_fixperms:
	dh_fixperms
	chown -R www-data:www-data debian/libapache2-mod-fcgid/var/lib/apache2/fcgid
	chmod -R 755 debian/libapache2-mod-fcgid/var/lib/apache2/fcgid