quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH] Strip metadata comments from generated files


From: Jean Delvare
Subject: [Quilt-dev] [PATCH] Strip metadata comments from generated files
Date: Tue, 17 Feb 2015 15:07:13 +0100

Source files include metadata comments to help text editors apply the
right syntax highlighting. Generated files should not be edited so
these comments are not needed there. Text editors should get the
language right for generated files in the first place anyway.
---
 Makefile.in |    1 +
 1 file changed, 1 insertion(+)

--- a/Makefile.in
+++ b/Makefile.in
@@ -267,6 +267,7 @@ $(patsubst %.in,%,$(wildcard bin/*.in qu
                -e 's:@ETCDIR''@:$(etcdir):g'                           \
                -e 's:@LOCALEDIR''@:$(localedir):g'                     \
                -e 's:@DOCSUBDIR''@:$(docdir):g'                        \
+               -e '/^### Local Variables:/Q'                           \
                $< > $@
        @$(if $(filter $@,$(NON_EXEC_IN)),,chmod +x $@)
 

-- 
Jean Delvare
SUSE L3 Support




reply via email to

[Prev in Thread] Current Thread [Next in Thread]