summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2008-04-27 16:14:31 +0000
committerSebastian Pipping <sebastian@pipping.org>2008-04-27 16:14:31 +0000
commitfce5d3f8a2a0c10994aa59f6e9e46a836da35b25 (patch)
tree792d6d8340170643114f3eb39d914690b7b14632 /doc
parent945fd201c8f806d607d3845ddacec30e46d273e0 (diff)
downloaduriparser-fce5d3f8a2a0c10994aa59f6e9e46a836da35b25.tar.gz
Doc related build system stuffuriparser-0.7.1
git-svn-id: https://uriparser.svn.sourceforge.net/svnroot/uriparser/uriparser/trunk@347 119732b9-2324-0410-a8a5-815c10060bbe
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/configure.in6
-rwxr-xr-xdoc/release.sh38
3 files changed, 31 insertions, 15 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index aa836dd..62cbcba 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,8 @@
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = 1.10 foreign dist-zip no-dist-gzip
+distdir = $(PACKAGE)-$(VERSION)-doc
+
noinst_SCRIPTS = phony_html_doc
phony_html_doc :
diff --git a/doc/configure.in b/doc/configure.in
index 6742241..206df14 100644
--- a/doc/configure.in
+++ b/doc/configure.in
@@ -1,8 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(Doxyfile.in)
-AM_INIT_AUTOMAKE(uriparser, 0.7.1-doc)
-
+AM_INIT_AUTOMAKE(uriparser, 0.7.1)
## Doxygen
AC_CHECK_PROG(DOXY_CHECK, doxygen, found, missing)
@@ -20,7 +19,7 @@ fi
## HTML help
host_triplet=`../config.guess`
-if grep cygwin <<<"${host_triplet}" ; then
+if grep cygwin <<<"${host_triplet}" >/dev/null ; then
GENERATE_HTMLHELP=YES
else
GENERATE_HTMLHELP=NO
@@ -33,4 +32,3 @@ AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT
-
diff --git a/doc/release.sh b/doc/release.sh
index aea5e89..096f238 100755
--- a/doc/release.sh
+++ b/doc/release.sh
@@ -1,20 +1,36 @@
-#! /bin/sh
-echo "[ 0%] aclocal"
-aclocal || exit 1
+#! /bin/bash
+CUR=0
+COUNT=5
-echo "[ 17%] automake"
-automake --add-missing --copy || exit 1
+step() {
+ PERC=$((100 * CUR / COUNT))
+ printf "[%3i%%] %s" ${PERC} "$1"
+ echo
+ CUR=$((CUR + 1))
+}
-echo "[ 34%] autoconf"
-autoconf || exit 1
+## Parent bootstrap
+step "../bootstrap.sh"
+PWD_BACKUP=$PWD
+cd .. || exit 1
+./bootstrap.sh || exit 1
+cd "${PWD_BACKUP}" || exit 1
-echo "[ 50%] ./configure"
+## Bootstrap
+step "./bootstrap.sh"
+./bootstrap.sh || exit 1
+
+## Configure
+step "./configure"
./configure || exit 1
-echo "[ 67%] make"
+## Make
+step "make"
make || exit 1
-echo "[ 85%] make dist"
+## Make dist
+step "make dist"
make dist || exit 1
-echo "[100%] ."
+step "."
+exit 0