2013-12-02 23:29:02 +08:00
|
|
|
# cartodb/Makefile
|
|
|
|
|
|
|
|
EXTENSION = cartodb
|
|
|
|
EXTVERSION = 0.1
|
|
|
|
|
2014-05-01 01:03:14 +08:00
|
|
|
CDBSCRIPTS = \
|
|
|
|
scripts-available/CDB_TableMetadata.sql \
|
|
|
|
scripts-available/CDB_Quota.sql \
|
|
|
|
scripts-available/CDB_TransformToWebmercator.sql \
|
|
|
|
scripts-available/CDB_CartodbfyTable.sql \
|
|
|
|
$(END)
|
|
|
|
|
2013-12-02 23:29:02 +08:00
|
|
|
DATA_built = $(EXTENSION)--$(EXTVERSION).sql
|
2014-05-01 01:03:14 +08:00
|
|
|
DOCS = README.md
|
|
|
|
REGRESS = test_ddl_triggers
|
2013-12-02 23:29:02 +08:00
|
|
|
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
|
2014-05-01 01:03:14 +08:00
|
|
|
$(EXTENSION)--$(EXTVERSION).sql: $(CDBSCRIPTS) cartodb_hooks.sql Makefile
|
|
|
|
cat $(CDBSCRIPTS) | sed 's/\<public\./cartodb./g' > $@
|
|
|
|
cat cartodb_hooks.sql >> $@
|