diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-13 09:46:31 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-13 09:46:31 +0200 |
commit | 7876bc06004e45c470aa9bfcd4ab4e8bed6464e4 (patch) | |
tree | 2c1983b749ecbb883eb35c5e1541a3360a34517d | |
parent | 03cfd2b1e548c24f6572f58d3838f8d5b12c7501 (diff) |
-prevent editing generated files
-rw-r--r-- | src/exchangedb/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am index f60ecc8ff..6145740c4 100644 --- a/src/exchangedb/Makefile.am +++ b/src/exchangedb/Makefile.am @@ -41,18 +41,23 @@ CLEANFILES = \ exchange-0001.sql: common-0001.sql exchange-0001-part.sql cat common-0001.sql exchange-0001-part.sql >$@ + chmod -w $@ shard-0001.sql: common-0001.sql shard-0001-part.sql cat common-0001.sql shard-0001-part.sql >$@ + chmod -w $@ shard-0000.sql: exchange-0000.sql cp exchange-0000.sql $@ + chmod -w $@ drop0001.sql: drop-common.sql drop0001-exchange-part.sql cat drop-common.sql drop0001-exchange-part.sql >$@ + chmod -w $@ shard-drop0001.sql: drop-common.sql drop0001-shard-part.sql cat drop-common.sql drop0001-shard-part.sql >$@ + chmod -w $@ EXTRA_DIST = \ exchangedb.conf \ |