echo >> $@
printf 'icon_srcs = ' >> $@
for i in $(ICONS); do \
- printf ' \\\n\t '$$i | sed -e 's/\.png$$/.svg/' -e 's%/icons/%/artwork/%' >> $@ ; \
+ printf ' \\\n\t ' >> $@ ;\
+ printf $$i | awk '{ gsub(".png",".svg")gsub("icons","artwork");printf $$0}' >> $@ ; \
done
echo ' ' >> $@
echo >> $@
aclocal -I m4 -I gl/m4
configure: configure.ac aclocal.m4
- autoconf
+ autoconf || rm $@ # autoconf 2.69 has (what I think is) a bug. It will create configure even when failure is detected.
config.h.in: configure.ac
autoheader