File: rules

package info (click to toggle)
libapache-mod-jk 1%3A1.2.48-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,444 kB
  • sloc: ansic: 98,609; xml: 14,535; sh: 10,142; cpp: 4,222; java: 1,921; perl: 1,256; makefile: 815; pascal: 617; awk: 59
file content (29 lines) | stat: -rwxr-xr-x 677 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f

# Enable LFS, build system doesn't respect CPPFLAGS.
export DEB_CFLAGS_MAINT_APPEND = -D_LARGEFILE_SUPPORT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(shell dpkg-buildflags --get CPPFLAGS)

%:
	dh $@ --with apache2 --sourcedirectory=native

override_dh_auto_configure:
	dh_auto_configure -- --with-apxs=/usr/bin/apxs2

override_dh_auto_build:
	dh_auto_build
	# Build the documentation
	cd xdocs && ant

override_dh_auto_install:
	# Do nothing here to prevent a FTBFS.

override_dh_compress:
	dh_compress -Xchangelog.html

# No check target
override_dh_auto_test:

override_dh_install:
	mv $(CURDIR)/conf/httpd-jk.conf $(CURDIR)/conf/jk.conf
	dh_install