Kaydet (Commit) ccb2b3ca authored tarafından Enrico Tröger's avatar Enrico Tröger

Add alternative build system: Waf.

Use wafinit.sh to create a Makefile and configure files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2646 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 9268c9a1
2008-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am, waf, wscript, scripts/wafinit.sh:
Add alternative build system: Waf.
Use wafinit.sh to create a Makefile and configure files.
2008-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
......
......@@ -22,6 +22,7 @@ SYS_DATA_FILES = \
EXTRA_DIST = \
autogen.sh \
wscript \
geany.desktop.in \
geany.pc.in \
geany.spec \
......
#! /bin/sh
#
# This script creates a "configure" script and a Makefile to imitate autotools
# but Waf is actually used to build
WAF=`which waf`
if [ "x$WAF" = "x" ]
then
WAF="./waf"
fi
cat > Makefile << EOF
.PHONY: build configure
all: build
build:
@$WAF build \$@
install:
@$WAF install \$@
uninstall:
@$WAF uninstall
clean:
@$WAF clean
distclean:
@$WAF distclean
@-rm -f Makefile
htmldoc:
@$WAF --htmldoc
apidoc:
@$WAF --apidoc
configure:
@$WAF configure \$@
EOF
cat > configure << EOF
#!/bin/sh
$WAF configure \$@
EOF
chmod 755 configure
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment