File: rules

package info (click to toggle)
fcgiwrap 1.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 200 kB
  • ctags: 114
  • sloc: ansic: 697; sh: 169; makefile: 39
file content (19 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@ --with systemd

CONFIGURE_FLAGS := --prefix /usr
ifeq (linux,$(DEB_HOST_ARCH_OS))
	CONFIGURE_FLAGS += --with-systemd \
		    	   --with-systemdsystemunitdir=/lib/systemd/system
endif

override_dh_auto_build:
	autoreconf -i
	./configure $(CONFIGURE_FLAGS)
	$(MAKE)

override_dh_clean:
	rm -f aclocal.m4
	dh_clean