Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'database/postgresql/Makefile.am')
-rw-r--r--database/postgresql/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/database/postgresql/Makefile.am b/database/postgresql/Makefile.am
index 104cfe357b4..336b1539e74 100644
--- a/database/postgresql/Makefile.am
+++ b/database/postgresql/Makefile.am
@@ -1,14 +1,19 @@
if DBSCHEMA
DATABASE = postgresql
+DB_EXTENSION = timescaledb
data.sql: $(top_srcdir)/create/src/data.tmpl $(top_srcdir)/create/src/templates.tmpl $(top_srcdir)/create/src/dashboards.tmpl
$(top_srcdir)/create/bin/gen_data.pl $(DATABASE) > data.sql
schema.sql: $(top_srcdir)/create/src/schema.tmpl
$(top_srcdir)/create/bin/gen_schema.pl $(DATABASE) > schema.sql
+
+$(DB_EXTENSION).sql:
+ $(top_srcdir)/create/bin/gen_schema.pl $(DB_EXTENSION) > $(DB_EXTENSION).sql
endif
EXTRA_DIST = \
data.sql \
images.sql \
- schema.sql
+ schema.sql \
+ $(DB_EXTENSION).sql