[GRASS-SVN] r50292 - grass/trunk/lib/temporal/SQL
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 19 06:51:46 EST 2012
Author: huhabla
Date: 2012-01-19 03:51:46 -0800 (Thu, 19 Jan 2012)
New Revision: 50292
Added:
grass/trunk/lib/temporal/SQL/Makefile
Log:
Added missing Makefile
Added: grass/trunk/lib/temporal/SQL/Makefile
===================================================================
--- grass/trunk/lib/temporal/SQL/Makefile (rev 0)
+++ grass/trunk/lib/temporal/SQL/Makefile 2012-01-19 11:51:46 UTC (rev 50292)
@@ -0,0 +1,15 @@
+MODULE_TOPDIR = ../../..
+
+include $(MODULE_TOPDIR)/include/Make/Other.make
+
+SQLDIR = $(ETC)/sql
+SQLFILES:= $(wildcard *.sql)
+DSTFILES := $(patsubst %.sql,$(SQLDIR)/%.sql,$(SQLFILES))
+
+default: $(DSTFILES)
+
+$(SQLDIR):
+ $(MKDIR) $@
+
+$(SQLDIR)/%.sql: %.sql | $(SQLDIR)
+ $(INSTALL_DATA) $< $@
More information about the grass-commit
mailing list