cartodb-postgresql/Makefile
2013-12-02 16:29:02 +01:00

16 lines
326 B
Makefile

# 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\);$$' > $@