]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - locale/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / locale / Makefile
index 815645428bacee035d2bbd6f2f529e0e7c08ff96..34bcf1b953f1aa5956634b87c8334cb7d0a4455a 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: Makefile 5449 2006-04-22 04:05:45Z mike $"
+# "$Id$"
 #
 #   Locale file makefile for the Common UNIX Printing System (CUPS).
 #
@@ -51,7 +51,9 @@ depend:
 # Install files...
 #
 
-install:       all
+install:       all $(INSTALL_LANGUAGES)
+
+install-languages:
        $(INSTALL_DIR) -m 755 $(LOCALEDIR)
        for loc in $(LANGUAGES) ; do \
                if test -f cups_$$loc.po; then \
@@ -65,12 +67,12 @@ install:    all
 # Uninstall files...
 #
 
-uninstall:
+uninstall: $(UNINSTALL_LANGUAGES)
+
+uninstall-languages:
        -for loc in $(LANGUAGES) ; do \
                $(RM) $(LOCALEDIR)/$$loc/cups_$$loc.po ; \
-               $(RMDIR) $(LOCALEDIR)/$$loc ; \
        done
-       -$(RMDIR) $(LOCALEDIR)
 
 
 #
@@ -110,5 +112,5 @@ translate.o:        ../cups/http.h ../cups/i18n.h ../cups/language.h ../cups/string.h
 
 
 #
-# End of "$Id: Makefile 5449 2006-04-22 04:05:45Z mike $".
+# End of "$Id$".
 #