From a0d0d1d6e7c5adf109895d727b3ec190e652c8de Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Tue, 21 Aug 2012 08:13:52 -0400 Subject: add systemd unit files for installation These are automatically installed iff systemd support is compiled into fcgiwrap. --- Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 8d538b4..647d98b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -9,6 +9,11 @@ install: all install -m 755 fcgiwrap $(targetdir) install -d -m 755 $(man8dir) install -m 644 fcgiwrap.8 $(man8dir) +ifneq ("@systemdsystemunitdir@", "") + install -d -m 755 $(DESTDIR)@systemdsystemunitdir@ + install -m 644 systemd/fcgiwrap.socket $(DESTDIR)@systemdsystemunitdir@ + install -m 644 systemd/fcgiwrap.service $(DESTDIR)@systemdsystemunitdir@ +endif fcgiwrap: fcgiwrap.c @CC@ @AM_CFLAGS@ fcgiwrap.c -o fcgiwrap -lfcgi @systemd_LIBS@ @LDFLAGS@ -- cgit v1.2.3