Source
1
1
SUBDIRS = option-patches
2
2
3
3
if DBSCHEMA
4
4
DATABASE = mysql
5
5
6
6
data.sql: $(top_srcdir)/create/src/data.tmpl $(top_srcdir)/create/src/templates-aa.tmpl $(top_srcdir)/create/src/templates-ab.tmpl $(top_srcdir)/create/src/templates-ac.tmpl $(top_srcdir)/create/src/dashboards.tmpl $(top_srcdir)/create/bin/gen_data.pl
7
-
cat $(top_srcdir)/create/src/templates-*.tmpl > $(top_srcdir)/create/src/templates.tmpl && $(top_srcdir)/create/bin/gen_data.pl $(DATABASE) > data.sql && rm $(top_srcdir)/create/src/templates.tmpl
7
+
cat $(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
8
8
9
9
schema.sql: $(top_srcdir)/create/src/schema.tmpl $(top_srcdir)/create/bin/gen_schema.pl
10
10
$(top_srcdir)/create/bin/gen_schema.pl $(DATABASE) > schema.sql || (rm -rf schema.sql && exit 1)
11
11
12
12
clean: clean-recursive
13
13
rm -f schema.sql data.sql
14
14
endif
15
15
16
16
EXTRA_DIST = \
17
17
data.sql \