3 # This script creates a "configure" script and a Makefile to imitate autotools
4 # but Waf is actually used to build
11 .PHONY: build configure
19 @if test -n "\$(DESTDIR)"; then \\
20 ./waf install --destdir="\$(DESTDIR)"; \\
26 @if test -n "\$(DESTDIR)"; then \\
27 $WAF uninstall --destdir="\$(DESTDIR)"; \\
58 echo "$template" > src
/Makefile
59 echo "$template" > tagmanager
/Makefile
60 echo "$template" > scintilla
/Makefile
61 echo "$template" > plugins
/Makefile
65 cat > configure
<< EOF