mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Refuse to install autogenerated proto header files.
This commit is contained in:
parent
28e04f751f
commit
c0a84c2b46
@ -60,6 +60,8 @@ sub install_header($$)
|
||||
|
||||
while (<IN>) {
|
||||
$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 {
|
||||
|
Loading…
Reference in New Issue
Block a user