summaryrefslogtreecommitdiff
path: root/scheduler/Makefile
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-10-21 11:54:05 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-10-21 11:54:05 +0000
commit451d5797fae6b8c3182538012abeb77dc67545f6 (patch)
tree1d66f3e620a72462acad9397e62d861f7b4de1ea /scheduler/Makefile
parent241474b0d9e8cd99b440f38890bcb78eaac34b74 (diff)
downloadcups-451d5797fae6b8c3182538012abeb77dc67545f6.tar.gz
Add systemd support for cups-lpd (STR #4493)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12221 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/Makefile')
-rw-r--r--scheduler/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/scheduler/Makefile b/scheduler/Makefile
index ce1606b1e..9086a3d40 100644
--- a/scheduler/Makefile
+++ b/scheduler/Makefile
@@ -3,7 +3,7 @@
#
# Scheduler Makefile for CUPS.
#
-# Copyright 2007-2013 by Apple Inc.
+# Copyright 2007-2014 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
@@ -206,8 +206,9 @@ install-data:
$(INSTALL_DATA) org.cups.cupsd.path $(BUILDROOT)$(SYSTEMD_DIR); \
$(INSTALL_DATA) org.cups.cupsd.service $(BUILDROOT)$(SYSTEMD_DIR); \
$(INSTALL_DATA) org.cups.cupsd.socket $(BUILDROOT)$(SYSTEMD_DIR); \
- fi
- if test "x$(XINETD)" != x; then \
+ $(INSTALL_DATA) org.cups.cups-lpdAT.service $(BUILDROOT)$(SYSTEMD_DIR)/org.cups.cups-lpd@.service; \
+ $(INSTALL_DATA) org.cups.cups-lpd.socket $(BUILDROOT)$(SYSTEMD_DIR); \
+ elif test "x$(XINETD)" != x; then \
echo Installing xinetd configuration file for cups-lpd...; \
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(XINETD); \
$(INSTALL_DATA) cups-lpd.xinetd $(BUILDROOT)$(XINETD)/cups-lpd; \