SF.net SVN: geany-plugins:[126] trunk/geanylua

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Jul 17 12:19:02 UTC 2008


Revision: 126
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=126&view=rev
Author:   ntrel
Date:     2008-07-17 12:18:58 +0000 (Thu, 17 Jul 2008)

Log Message:
-----------
Don't install .svn subdirectories in examples.

Modified Paths:
--------------
    trunk/geanylua/ChangeLog
    trunk/geanylua/Makefile.am

Modified: trunk/geanylua/ChangeLog
===================================================================
--- trunk/geanylua/ChangeLog	2008-07-17 12:08:28 UTC (rev 125)
+++ trunk/geanylua/ChangeLog	2008-07-17 12:18:58 UTC (rev 126)
@@ -1,6 +1,7 @@
 July 17, 2008 (ntrel)
   Fix use of old app macro.
   Fix segfault in last commit in glspi_init() (oops).
+  Don't install .svn subdirectories in examples.
 
 July 15, 2008 (ntrel)
   Fix for GeanyEditor changes.

Modified: trunk/geanylua/Makefile.am
===================================================================
--- trunk/geanylua/Makefile.am	2008-07-17 12:08:28 UTC (rev 125)
+++ trunk/geanylua/Makefile.am	2008-07-17 12:18:58 UTC (rev 126)
@@ -87,8 +87,12 @@
 
 
 install-scripts:
-	$(MKDIR_P) $(DATA_DEST_DIR)
-	cp -R ./examples $(DATA_DEST_DIR)
+	$(MKDIR_P) $(DATA_DEST_DIR)/examples
+	DIRS=`find examples -maxdepth 1 -mindepth 1 -type d -not -name .svn`; \
+	for DIR in $$DIRS; do \
+		$(MKDIR_P) $(DATA_DEST_DIR)/$$DIR; \
+		cp $$DIR/*.lua $(DATA_DEST_DIR)/$$DIR; \
+	done
 
 
 install-docs:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list