Update of /cvsroot/fink/web/xml
In directory vz-cvs-3.sog:/tmp/cvs-serv7716

Modified Files:
        Makefile.i18n.common 
Log Message:
Tweak 'make install' for *.inc files

Index: Makefile.i18n.common
===================================================================
RCS file: /cvsroot/fink/web/xml/Makefile.i18n.common,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Makefile.i18n.common        25 Oct 2011 00:54:17 -0000      1.22
+++ Makefile.i18n.common        25 Oct 2011 01:21:27 -0000      1.23
@@ -24,7 +24,6 @@
 TARGET += $(foreach  FILE, $(BASE_TARGET),$(if $(findstring .rdf,$(FILE)), 
$(foreach  LANGUAGE, $(LANGUAGES), $(patsubst %.rdf,%.$(LANGUAGE).rdf, 
$(FILE)))))
 endif
 TARGET += $(foreach  FILE, $(BASE_TARGET),$(if $(findstring .php,$(FILE)), 
$(foreach  LANGUAGE, $(LANGUAGES), $(patsubst %.php,%.$(LANGUAGE).php, 
$(FILE)))))
-#TARGET += $(foreach  LANGUAGE, $(LANGUAGES),  header.$(LANGUAGE).inc)
 endif
 
 ifndef STYLESHEET_WEBSITE
@@ -43,7 +42,12 @@
 
 ALL_TARGETS = $(TARGET)
 INSTALL_FILES = $(TARGET)
+ifdef LANGUAGES
 INSTALL_FILES += $(BASE_TARGET)
+ifndef STYLESHEET_RDF
+INSTALL_FILES += $(foreach  LANGUAGE, $(LANGUAGES),  header.$(LANGUAGE).inc)
+endif
+endif
 
 ifdef WANT_HTML
 ifdef LANGUAGES
@@ -110,7 +114,6 @@
 ifdef DESTDIR
        @echo "Installing PHP files"
        cp $(INSTALL_FILES) $(basedir)/web/$(DESTDIR)/
-       -cp *.inc $(basedir)/web/$(DESTDIR)/
 else
        @echo "DESTDIR not defined, can't install"
 endif


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to