From 4a8212c9550257d2fe3796a3e9f98e4e0367c38b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 May 2008 20:46:16 +0200 Subject: Refuse to install autogenerated proto header files. (This used to be commit c0a84c2b4698f6ac9b555cc74bed52e5930804d9) --- source4/script/installheader.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/script/installheader.pl b/source4/script/installheader.pl index d1f96b2592..6b10bde65f 100755 --- a/source4/script/installheader.pl +++ b/source4/script/installheader.pl @@ -60,6 +60,8 @@ sub install_header($$) while () { $lineno++; + die("Will not install autogenerated header $src") if (/This file was automatically generated by mkproto.pl. DO NOT EDIT/); + if (/^#include \"(.*)\"/) { print OUT "#include <" . rewrite_include("$src:$lineno", $1) . ">\n"; } else { -- cgit