summaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
authorWilliam Harold Newman <william.newman@airmail.net>2004-09-19 19:38:55 +0000
committerWilliam Harold Newman <william.newman@airmail.net>2004-09-19 19:38:55 +0000
commitd336ca31c57c48cfda3e3b5510c52c91e6e8f7b9 (patch)
tree61b1e0f90c74b06d76aebfd428032a135410c485 /clean.sh
parent547cfec95e761865cd24e738e4a9717d85562387 (diff)
0.8.14.28:
"not when there is nothing more to add, but when there is nothing more to be taken away" deleted old DocBook manual sources deleted references to DocBook manual sources (in DOCDOC and clean.sh and so forth) minor tidying of doc-building and doc/-cleaning machinery (hopefully leaving it working basically as before)
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh19
1 files changed, 5 insertions, 14 deletions
diff --git a/clean.sh b/clean.sh
index 540f8f966..0868e8062 100755
--- a/clean.sh
+++ b/clean.sh
@@ -13,16 +13,9 @@
# this script (including "gmake clean" in the src/runtime directory)
# several times in a row without failure.. so we leave the output/
# directory in place.)
-rm -rf obj/* output/* src/runtime/genesis/ doc/user-manual \
- doc/user-manual.junk doc/DBTOHTML_OUTPUT_DIR*
-# (The doc/user-manual.junk and doc/DBTOHTML_OUTPUT_DIR* directories
-# are created by the Cygnus db2html script when it formats the the
-# user manual, and since this db2html script is the one which is
-# currently used to format the manual for the standard binary
-# distribution, we automatically clean up after it here in the
-# standard clean.sh file.)
+rm -rf obj/* output/* src/runtime/genesis/
-# Ensure we know GNUMAKE
+# Ensure that we know GNUMAKE.
. ./find-gnumake.sh
find_gnumake
@@ -38,6 +31,7 @@ for d in tools-for-build; do
$GNUMAKE -I ../src/runtime -s clean
cd $original_pwd > /dev/null
done
+( cd ./doc ; sh ./clean.sh )
# Within all directories, remove things which don't look like source
# files. Some explanations:
@@ -50,8 +44,6 @@ done
# created by running GENESIS
# Config, target
# architecture-dependent or OS-dependent symlinks
-# *.htm, *.html
-# probably machine-generated translation of DocBook (*.sgml) files
# core
# probably a Unix core dump -- not part of the sources anyway
# *.o, *.so, *.lib, *.nm, a.out
@@ -66,7 +58,8 @@ done
# .#*, *.orig, .*.orig, *.rej
# rubbish left behind by CVS updates
# *.htm, *.html
-# The system doc sources are SGML, any HTML is
+# The system doc sources are mostly texinfo, plus various odds
+# and ends like docstrings embedded in .lisp sources; any HTML is
# automatically-generated output.
# depend
# made by "make depend" (or "gmake depend" or some such thing)
@@ -110,5 +103,3 @@ find . \( \
-name 'tags' -o \
-name 'test-passed' -o \
-name 'local-target-features.lisp-expr' \) -print | xargs rm -f
-
-cd ./doc && sh ./clean.sh