From 7876bc06004e45c470aa9bfcd4ab4e8bed6464e4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 13 Jun 2022 09:46:31 +0200 Subject: -prevent editing generated files --- src/exchangedb/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/exchangedb') 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 \ -- cgit v1.2.3