X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=templates%2FMakefile;h=34712e5b43752b795dbc348ad98d288cd0d75c57;hp=b4fcc3735d200bb75d5057b01da1efd6261f19af;hb=5f64df29828e9ca71164342efd357e9debfb6e44;hpb=bc44d92092094935265183305a38196ce2822756 diff --git a/templates/Makefile b/templates/Makefile index b4fcc3735..34712e5b4 100644 --- a/templates/Makefile +++ b/templates/Makefile @@ -1,9 +1,9 @@ # -# "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $" +# "$Id: Makefile 7558 2008-05-12 23:46:44Z mike $" # # Template makefile for the Common UNIX Printing System (CUPS). # -# Copyright 2007 by Apple Inc. +# Copyright 2007-2008 by Apple Inc. # Copyright 1993-2007 by Easy Software Products. # # These coded instructions, statements, and computer programs are the @@ -96,6 +96,20 @@ FILES = \ all: +# +# Make library targets... +# + +libs: + + +# +# Make unit tests... +# + +unittests: + + # # Clean all config and object files... # @@ -111,10 +125,17 @@ depend: # -# Install files... +# Install all targets... +# + +install: all install-data install-headers install-libs install-exec + + +# +# Install data files... # -install: all $(INSTALL_LANGUAGES) +install-data: $(INSTALL_LANGUAGES) $(INSTALL_DIR) -m 755 $(DATADIR)/templates for file in $(FILES); do \ $(INSTALL_DATA) $$file $(DATADIR)/templates; \ @@ -122,15 +143,37 @@ install: all $(INSTALL_LANGUAGES) install-languages: for lang in $(LANGUAGES); do \ - $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ - for file in $(FILES); do \ - if test -f $$lang/$$file; then \ - $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \ - fi \ - done \ + if test -d $$lang; then \ + $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \ + for file in $(FILES); do \ + $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang 2>/dev/null || true; \ + done \ + fi \ done + +# +# Install programs... +# + +install-exec: + + +# +# Install headers... +# + +install-headers: + + +# +# Install libraries... +# + +install-libs: + + # # Uninstall files... # @@ -151,5 +194,5 @@ uninstall-languages: # -# End of "$Id: Makefile 6649 2007-07-11 21:46:42Z mike $". +# End of "$Id: Makefile 7558 2008-05-12 23:46:44Z mike $". #