You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
463 B

1 year ago
if DBSCHEMA
DATABASE = sqlite3
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 || (rm -rf schema.sql && exit 1)
clean:
rm -f schema.sql data.sql
endif
EXTRA_DIST = \
data.sql \
images.sql \
schema.sql