need to filter out if/else/endif too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13534 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -60,7 +60,7 @@ make_proto () {
|
|||||||
(top=`pwd`
|
(top=`pwd`
|
||||||
cd $1
|
cd $1
|
||||||
b=`basename $1`
|
b=`basename $1`
|
||||||
perl $top/cf/make-proto.pl -o $2 -p $3 `(sed 's/^include/##include/' Makefile.am;
|
perl $top/cf/make-proto.pl -o $2 -p $3 `(perl -p -e 's/^(include|if|else|endif)\b/##$1/' Makefile.am;
|
||||||
echo 'print-sources:; @if test "$(proto_opts)"; then echo $(proto_opts); else echo -q -P comment; fi; echo '$4 | sort -u ) | make -f - print-sources `)
|
echo 'print-sources:; @if test "$(proto_opts)"; then echo $(proto_opts); else echo -q -P comment; fi; echo '$4 | sort -u ) | make -f - print-sources `)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user