Move toward cartodb extension

This commit is contained in:
Sandro Santilli
2013-12-02 16:29:02 +01:00
parent a87f358253
commit be25906953
5 changed files with 53 additions and 25 deletions
+15
View File
@@ -0,0 +1,15 @@
# cartodb/Makefile
EXTENSION = cartodb
EXTVERSION = 0.1
DATA_built = $(EXTENSION)--$(EXTVERSION).sql
#DOCS = README.md
#REGRESS = hook_on_table_create
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
$(EXTENSION)--$(EXTVERSION).sql: cartodb_hooks.sql
cat $< | grep -v '^\(BEGIN\|END\);$$' > $@