--- scheduler/Makefile.orig	2014-10-21 11:55:01 UTC
+++ scheduler/Makefile
@@ -172,7 +172,7 @@ install-data:
 	$(INSTALL_DIR) -m 1770 -g $(CUPS_GROUP) $(REQUESTS)/tmp
 	echo Creating $(CACHEDIR)...
 	$(INSTALL_DIR) -m 770 -g $(CUPS_GROUP) $(CACHEDIR)
-	if test "x$(INITDIR)" != x; then \
+	if test "x$(xxINITDIR)" != x; then \
 		echo Installing init scripts...; \
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
 		$(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \
@@ -184,7 +184,7 @@ install-data:
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/rc0.d; \
 		$(LN) ../init.d/cups $(BUILDROOT)$(INITDIR)/rc0.d/K$(RCSTOP)cups; \
 	fi
-	if test "x$(INITDDIR)" != x; then \
+	if test "x$(xxINITDDIR)" != x; then \
 		echo Installing init script...; \
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDDIR); \
 		$(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDDIR); \
