]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scripting/php/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / scripting / php / Makefile
index 398c2714ec85b8a0afbcb839df2df0e1ec759ab5..acf6f2d2789c557359461a5455e48a07d36b3d9a 100644 (file)
@@ -45,14 +45,14 @@ OBJS        =       phpcups.o
 # Targets in this directory...
 #
 
-TARGETS        =       phpcups.so
+PHPCUPS        =       phpcups.so
 
 
 #
 # Make all targets...
 #
 
-all:   $(TARGETS)
+all:   $(PHPCUPS)
 
 
 #
@@ -60,7 +60,7 @@ all:  $(TARGETS)
 #
 
 clean:
-       $(RM) $(OBJS) $(TARGETS)
+       $(RM) $(OBJS) $(PHPCUPS)
 
 
 #
@@ -76,9 +76,18 @@ depend:
 #
 
 install:       all
-       echo Installing $(TARGETS) in $(PHPDIR)
+       echo Installing $(PHPCUPS) in $(PHPDIR)
        $(INSTALL_DIR) $(PHPDIR)
-       cp $(TARGETS) $(PHPDIR)
+       $(INSTALL_BIN) $(PHPCUPS) $(PHPDIR)
+
+
+#
+# Uninstall object and target files...
+#
+
+uninstall:
+       $(RM) $(PHPDIR)/$(PHPCUPS)
+       -$(RMDIR) $(PHPDIR)
 
 
 #