From df5608bc7210d0a71054d20a2b716056d84768c6 Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 17 Nov 2002 23:29:54 +0000 Subject: [PATCH] - Change build process so that javadoc documentation is built by "make" in the "docs" directory. --- Build | 9 +++++++++ Makefile | 8 ++++++++ docs/Makefile | 20 ++++++++++++++++++++ docs/README | 4 ---- test/random/Makefile | 8 ++++++++ 5 files changed, 45 insertions(+), 4 deletions(-) create mode 100755 Build create mode 100644 Makefile create mode 100644 docs/Makefile delete mode 100644 docs/README create mode 100644 test/random/Makefile diff --git a/Build b/Build new file mode 100755 index 0000000..2de5376 --- /dev/null +++ b/Build @@ -0,0 +1,9 @@ +#!/bin/sh + +# $Id: Build,v 1.1 2002-11-17 23:29:54 mike Exp $ + +: ${MAKE=make} +for dir in src/org/z3950/zing/cql test/random docs; do + echo "=== Building in $dir ===" + ( cd $dir; $MAKE ${@+"$@"} ) +done diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2836ab6 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +# $Id: Makefile,v 1.1 2002-11-17 23:29:55 mike Exp $ + +**make-default**: + ./Build + +clean: + ./Build clean + diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..9a2b3e2 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,20 @@ +# $Id: Makefile,v 1.1 2002-11-17 23:29:55 mike Exp $ + +all: overview-tree.html + +overview-tree.html: ../src/org/z3950/zing/cql/*.java + nice javadoc -classpath ../src \ + -author -version -windowtitle cql-java org.z3950.zing.cql + +clean: + rm -rf allclasses-frame.html \ + deprecated-list.html \ + help-doc.html \ + index-all.html \ + index.html \ + org \ + overview-tree.html \ + package-list \ + packages.html \ + serialized-form.html \ + stylesheet.css diff --git a/docs/README b/docs/README deleted file mode 100644 index 1b55b71..0000000 --- a/docs/README +++ /dev/null @@ -1,4 +0,0 @@ -$Id: README,v 1.2 2002-11-03 16:49:38 mike Exp $ - -Automatically-generated documentation should appear here. -cd ../src/org/z3950/zing/cql && make javadocs diff --git a/test/random/Makefile b/test/random/Makefile new file mode 100644 index 0000000..b6054f9 --- /dev/null +++ b/test/random/Makefile @@ -0,0 +1,8 @@ +# $Id: Makefile,v 1.1 2002-11-17 23:29:55 mike Exp $ + +all: + ./mkrandom 100 + +clean: + @echo "Nothing to do to 'make clean'" + -- 1.7.10.4