Tim Waugh eb99a8
--- cups-1.2.11/Makefile.noinit	2007-05-07 20:10:54.000000000 +0100
Tim Waugh eb99a8
+++ cups-1.2.11/Makefile	2007-06-13 16:44:37.000000000 +0100
Tim Waugh eb99a8
@@ -100,48 +100,6 @@
cvsdist 99ecd1
 	echo Installing cups-config script...
Tim Waugh 0edf4c
 	$(INSTALL_DIR) -m 755 $(BINDIR)
cvsdist 99ecd1
 	$(INSTALL_SCRIPT) cups-config $(BINDIR)/cups-config
Tim Waugh 124cf2
-	if test "x$(INITDIR)" != x; then \
Tim Waugh 579b45
-		echo Installing init scripts...; \
Tim Waugh 0edf4c
-		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
Tim Waugh 0edf4c
-		$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \
Tim Waugh 1f484c
-		for level in $(RCLEVELS); do \
Tim Waugh 1f484c
-			$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc$${level}.d; \
Tim Waugh 1f484c
-			$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc$${level}.d/S$(RCSTART)cups; \
Tim Waugh 1f484c
-			if test `uname` = HP-UX; then \
Tim Waugh 1f484c
-				level=`expr $$level - 1`; \
Tim Waugh 1f484c
-				$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc$${level}.d; \
Tim Waugh 1f484c
-			fi; \
Tim Waugh 1f484c
-			$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc$${level}.d/K$(RCSTOP)cups; \
Tim Waugh 1f484c
-		done; \
Tim Waugh 0edf4c
-		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc0.d; \
Tim Waugh 1f484c
-		$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc0.d/K$(RCSTOP)cups; \
cvsdist 99ecd1
-	fi
Tim Waugh 124cf2
-	if test "x$(INITDIR)" = x -a "x$(INITDDIR)" != x; then \
cvsdist 99ecd1
-		$(INSTALL_DIR) $(BUILDROOT)$(INITDDIR); \
cvsdist 99ecd1
-		if test "$(INITDDIR)" = "/System/Library/StartupItems/PrintingServices"; then \
Tim Waugh 579b45
-			echo Installing StartupItems files...; \
Tim Waugh 0edf4c
-			$(INSTALL_SCRIPT) init/PrintingServices $(BUILDROOT)$(INITDDIR)/PrintingServices; \
Tim Waugh 0edf4c
-			$(INSTALL_DATA) init/StartupParameters.plist $(BUILDROOT)$(INITDDIR)/StartupParameters.plist; \
Tim Waugh eb99a8
-			$(INSTALL_DIR) $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \
Tim Waugh 0edf4c
-			$(INSTALL_DATA) init/Localizable.strings $(BUILDROOT)$(INITDDIR)/Resources/English.lproj/Localizable.strings; \
Tim Waugh 0edf4c
-		elif test "$(INITDDIR)" = "/System/Library/LaunchDaemons"; then \
Tim Waugh adb38b
-			echo Installing LaunchDaemons configuration files...; \
Tim Waugh 0edf4c
-			$(INSTALL_DATA) init/org.cups.cupsd.plist $(BUILDROOT)$(DEFAULT_LAUNCHD_CONF); \
Tim Waugh adb38b
-			$(INSTALL_DATA) init/org.cups.cups-lpd.plist $(BUILDROOT)/System/Library/LaunchDaemons; \
Tim Waugh eb99a8
-			case `uname -r` in \
Tim Waugh eb99a8
-				8.*) \
Tim Waugh eb99a8
-				$(INSTALL_DIR) $(BUILDROOT)/System/Library/StartupItems/PrintingServices; \
Tim Waugh eb99a8
-				$(INSTALL_SCRIPT) init/PrintingServices.launchd $(BUILDROOT)/System/Library/StartupItems/PrintingServices/PrintingServices; \
Tim Waugh eb99a8
-				$(INSTALL_DATA) init/StartupParameters.plist $(BUILDROOT)/System/Library/StartupItems/PrintingServices/StartupParameters.plist; \
Tim Waugh eb99a8
-				$(INSTALL_DIR) $(BUILDROOT)/System/Library/StartupItems/PrintingServices/Resources/English.lproj; \
Tim Waugh eb99a8
-				$(INSTALL_DATA) init/Localizable.strings $(BUILDROOT)/System/Library/StartupItems/PrintingServices/Resources/English.lproj/Localizable.strings; \
Tim Waugh eb99a8
-				;; \
Tim Waugh eb99a8
-			esac \
cvsdist 99ecd1
-		else \
Tim Waugh 579b45
-			echo Installing RC script...; \
Tim Waugh 0edf4c
-			$(INSTALL_SCRIPT) init/cups.sh $(BUILDROOT)$(INITDDIR)/cups; \
cvsdist 99ecd1
-		fi \
cvsdist 99ecd1
-	fi
Tim Waugh 124cf2
 	if test "x$(DBUSDIR)" != x; then \
Tim Waugh 0edf4c
 		echo Installing cups.conf in $(DBUSDIR)...;\
Tim Waugh 0edf4c
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(DBUSDIR); \