[GRASS-SVN] r51362 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 10 15:00:15 EDT 2012


Author: martinl
Date: 2012-04-10 12:00:15 -0700 (Tue, 10 Apr 2012)
New Revision: 51362

Modified:
   grass/trunk/include/Make/Script.make
Log:
Script.make: install also etc-part (required by g.extension to properly install addons)


Modified: grass/trunk/include/Make/Script.make
===================================================================
--- grass/trunk/include/Make/Script.make	2012-04-10 18:52:23 UTC (rev 51361)
+++ grass/trunk/include/Make/Script.make	2012-04-10 19:00:15 UTC (rev 51362)
@@ -23,5 +23,8 @@
 	$(INSTALL) $(SCRIPT) $(INST_DIR)/scripts/
 	$(INSTALL_DATA) $(HTMLDIR)/$(PGM).html $(INST_DIR)/docs/html/
 	$(INSTALL_DATA) $(ARCH_DISTDIR)/man/man1/$(PGM).1 $(INST_DIR)/man/man1/
+	if [ -d "$(ETC)/$(PGM)" ] ; then \
+		cp -rL $(ETC)/$(PGM) $(INST_DIR)/etc/ ; \
+	fi
 
 .PHONY: script scriptstrings



More information about the grass-commit mailing list