File: rules

package info (click to toggle)
libapache2-mod-lookup-identity 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 132 kB
  • sloc: ansic: 734; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

DBUS_CFLAGS = $(shell pkg-config --cflags dbus-1)
DBUS_LIBS = $(shell pkg-config --libs dbus-1)

%:
	dh $@ --with apache2

override_dh_auto_build:
	apxs -c -Wc,"-Wall -pedantic -std=c99 ${DBUS_CFLAGS}" ${DBUS_LIBS} -lpam mod_lookup_identity.c

#override_dh_auto_install:
#	mkdir -p $(CURDIR)/debian/tmp/usr/lib/apache2/modules
#	install -m 755 .libs/mod_lookup_identity.so \
#		$(CURDIR)/debian/tmp/usr/lib/apache2/modules

override_dh_install:
	dh_install --fail-missing