File: rules

package info (click to toggle)
libapache2-mod-watchcat 1.1.2-2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 100 kB
  • sloc: ansic: 335; makefile: 70
file content (17 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export APXS=apxs2
PREFIX=debian/libapache2-mod-watchcat

%:
	dh $@

override_dh_auto_install:
	mkdir -p $(PREFIX)/usr/lib/apache2/modules
	cp .libs/mod_watchcat.so $(PREFIX)/usr/lib/apache2/modules
	mkdir -p $(PREFIX)/etc/apache2/mods-available
	cp debian/watchcat.load $(PREFIX)/etc/apache2/mods-available
	cp debian/watchcat.conf $(PREFIX)/etc/apache2/mods-available