Explorar o código

Added missing Makefile

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50292 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert %!s(int64=13) %!d(string=hai) anos
pai
achega
f29024deb3
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      lib/temporal/SQL/Makefile

+ 15 - 0
lib/temporal/SQL/Makefile

@@ -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) $< $@