commit c89c7eff4945dd56887530705841ef648427b35d parent 83a2168001ad95a6cfe1ac44e59589c911898fde Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 26 Sep 2023 11:02:53 +0200 add auditor-0002.sql build rule Diffstat:
| M | src/auditordb/Makefile.am | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/auditordb/Makefile.am b/src/auditordb/Makefile.am @@ -19,9 +19,21 @@ sql_DATA = \ drop.sql \ restart.sql +sqlinputs = \ + 0002-*.sql \ + auditor-0002.sql.in +# auditor_do_*.sql +# procedures.sql.in + +auditor-0002.sql: auditor-0002.sql.in 0002-*.sql + chmod +w $@ || true + gcc -E -P -undef - < auditor-0002.sql.in 2>/dev/null | sed -e "s/--.*//" | awk 'NF' - >$@ + chmod ugo-w $@ + EXTRA_DIST = \ auditordb-postgres.conf \ test-auditor-db-postgres.conf \ + $(sqlinputs) \ $(sql_DATA) \ pg_template.h pg_template.c \ pg_template.sh