File: rules

package info (click to toggle)
libapache-mod-log-sql 1.100-16.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,168 kB
  • ctags: 622
  • sloc: sh: 2,470; ansic: 2,264; xml: 2,010; makefile: 322; perl: 250; sql: 64
file content (22 lines) | stat: -rwxr-xr-x 737 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
#!/usr/bin/make -f

%:
	dh $@ --with apache2,autotools_dev

# Configure for libapache-mod-log-sql
# Note: no libapache-mod-log-sql-ssl currently because mod_ssl.h
# is not provided anywhere in the Debian distro (a bug repport has been filled)
override_dh_auto_configure:
	dh_auto_configure -- \
	    --with-apxs=/usr/bin/apxs2 \
	    --with-dbi=/usr \
	    --with-mysql=/usr \
	    --with-ssl-inc=/usr/include/apache2

override_dh_auto_install:
	echo "nothing to do..."

override_dh_installdirs:
	dh_installdirs -A
	install -m 0755 contrib/make_combined_log.pl debian/libapache2-mod-log-sql/usr/bin/make_combined_log2
	install -m 0755 contrib/mysql_import_combined_log.pl debian/libapache2-mod-log-sql/usr/bin/mysql_import_combined_log2