1
0
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:
Jelmer Vernooij 2008-05-21 20:46:16 +02:00
parent 28e04f751f
commit c0a84c2b46

View File

@ -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 {