diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-09-26 11:02:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-09-26 11:02:53 +0200 |
commit | c89c7eff4945dd56887530705841ef648427b35d (patch) | |
tree | a91e4496988213418647fed7815aca2830178341 /src/auditordb | |
parent | 83a2168001ad95a6cfe1ac44e59589c911898fde (diff) |
add auditor-0002.sql build rule
Diffstat (limited to 'src/auditordb')
-rw-r--r-- | src/auditordb/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/auditordb/Makefile.am b/src/auditordb/Makefile.am index abdba5c2b..dbbd4d1cc 100644 --- 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 |