From b87ca771bf103b21abf53ef4186aa1adaf002541 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 30 Nov 2012 15:00:21 +0000 Subject: [PATCH] Make the generated termkey.h file readonly --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f745ef4..7ee66a2 100644 --- a/Makefile +++ b/Makefile @@ -144,9 +144,11 @@ clean-built: rm -f $(BUILTMAN) termkey.h termkey.h: termkey.h.in Makefile + rm -f $@ sed -e 's/@@VERSION_MAJOR@@/$(VERSION_MAJOR)/g' \ -e 's/@@VERSION_MINOR@@/$(VERSION_MINOR)/g' \ $< >$@ + chmod a-w $@ DISTDIR=libtermkey-$(VERSION)