From 03b1050f0db4b41bc8472550294c66589d92a3dd Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 27 Apr 2000 11:11:55 +0000 Subject: [PATCH] [project @ 2000-04-27 11:11:55 by simonmar] update docs w.r.t. clean targets. --- docs/building.sgml | 51 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/docs/building.sgml b/docs/building.sgml index c89ef05..c40bb8c 100644 --- a/docs/building.sgml +++ b/docs/building.sgml @@ -1277,23 +1277,56 @@ install them? That is specified by reverses the effect of install. + clean: -remove all easily-rebuilt files. - +Delete all files from the current directory that are normally +created by building the program. Don't delete the files that +record the configuration. Also preserve files that could be made +by building, but normally aren't because the distribution comes +with them. + + +distclean: + +Delete all files from the current directory that are created by +configuring or building the program. If you have unpacked the source +and built the program without creating any other files, make +distclean should leave only the files that were in the +distribution. + + + + +mostlyclean: + +Like clean, but may refrain from deleting a +few files that people normally don't want to recompile. + + + -veryclean: +maintainer-clean: -remove all files that can be rebuilt at all. -There's a danger here that you may remove a file that needs a more -obscure utility to rebuild it (especially if you started from a source -distribution). - - +Delete everything from the current directory that can be reconstructed +with this Makefile. This typically includes everything deleted by +distclean, plus more: C source files produced by +Bison, tags tables, Info files, and so on. + +One exception, however: make maintainer-clean +should not delete configure even if +configure can be remade using a rule in the +Makefile. More generally, make +maintainer-clean should not delete anything that needs to +exist in order to run configure and then begin to +build the program. + + + check: -- 1.7.10.4