diff options
author | Grzegorz Nosek <root@localdomain.pl> | 2012-08-21 05:47:22 -0700 |
---|---|---|
committer | Grzegorz Nosek <root@localdomain.pl> | 2012-08-21 05:47:22 -0700 |
commit | a7e3d397bad337d59519fa69eafee7ca1d83d551 (patch) | |
tree | 13957856c3125301f3967d8a2cf81c2711c33c20 /Makefile.in | |
parent | 7f583a055c0a925c1b9dd25d7f831c5d6d9f4665 (diff) | |
parent | a9784d8967975160d56fc191d85ced94143e89de (diff) | |
download | fcgiwrap-a7e3d397bad337d59519fa69eafee7ca1d83d551.tar.xz fcgiwrap-a7e3d397bad337d59519fa69eafee7ca1d83d551.zip |
Merge pull request #7 from falconindy/systemd
add systemd unit files for installation
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
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@ |