3 # for those of you that have no wild-automake
7 if test x
$1 = x-v
; then
14 PROGNAME
=autowild
#don't includee path; this messes up stuff
15 WILD_MAKEFILES
=$
(find .
-name \
*.wild
)
16 for i
in $WILD_MAKEFILES; do
19 make=$
(basename $i .wild
)
20 TOPDIR
=${LILYPOND_SOURCEDIR-`pwd`}
23 $verbose -n "trying $dir/$make.. "
24 cat $wild |
$PERL $TOPDIR/bin
/wild-perl
>> $make.NEW
25 if [ ! -f $make ]; then
29 if cmp -s $make.NEW
$make; then
30 $verbose "autowild: $dir/$make didn't change"
34 $verbose "autowild: creating $dir/$make"