]> git.donarmstrong.com Git - lilypond.git/commitdiff
Creates make log-clean and documents it
authorPhil Holmes <mail@philholmes.net>
Wed, 13 Jun 2012 15:22:29 +0000 (16:22 +0100)
committerPhil Holmes <mail@philholmes.net>
Mon, 18 Jun 2012 09:13:31 +0000 (10:13 +0100)
Documentation/included/compile.itexi
stepmake/stepmake/generic-targets.make

index b9cfb9c45f32201e22a26451f1dda33bb034aefe..eb24c591807cdecbf7ab1df8e0d1a72ce6fa0bb3 100644 (file)
@@ -616,9 +616,11 @@ make [-j@var{X} CPU_COUNT=@var{X}] doc  @emph{## usually faster than initial bui
 @item
 Reset:
 
-In some cases, it is possible to clean the compiled documentation
-with @samp{make@tie{}doc-clean}, but this method is not guaranteed
-to fix everything.  Instead, we recommend that you delete your
+It is generally possible to remove the compiled documentation from
+your system
+with @samp{make@tie{}doc-clean}, but this method is not 100%
+guaranteed.  Instead, if you want to be sure you have a clean
+system, we recommend that you delete your
 @file{build/} directory, and begin compiling from scratch.  Since
 the documentation compile takes much longer than the
 non-documentation compile, this does not increase the overall time
@@ -660,9 +662,20 @@ the docs.  Please do not complain about anything which is broken
 in those places; the only complete set of documentation is in
 @file{out-www/offline-root/} from the top of the source tree.
 
-@code{make doc} compiles the documents for all languages.  To save
-some compile time, the English language documents can be compiled
-on their own with:
+@command{make@tie{}doc} sends the output from most of the
+compilation to logfiles.  If the build fails for any reason, it
+should prompt you with the name of a logfile which will provide
+information to help you work out why the build failed.  These
+logfiles are not deleted with @command{make@tie{}doc-clean}.  To
+remove all the logfiles generated by the compilation process, use:
+
+@example
+make log-clean
+@end example
+
+@code{make@tie{}doc} compiles the documents for all languages.  To
+save some compile time, the English language documents can be
+compiled on their own with:
 
 @example
 make LANGS='' doc
index fa7dc2e104d4ad47ee60b891dd77ecdf75df8637..9a51aaa728f948fc43be85d01670529246f0a8e5 100644 (file)
@@ -1,5 +1,6 @@
 .PHONY : all clean bin-clean config default dist exe help html lib TAGS\
-        po doc doc-stage-1 WWW-1 WWW-2 WWW-post local-WWW-1 local-WWW-2
+        po doc doc-stage-1 WWW-1 WWW-2 WWW-post local-WWW-1 local-WWW-2\
+        log-clean
 
 all:    default
        $(LOOP)
@@ -14,6 +15,9 @@ clean: local-clean
        -rm -rf $(outdir)
        $(LOOP)
 
+log-clean:
+       find . -name "*.log" -delete
+
 ifeq (,$(findstring metafont,$(STEPMAKE_TEMPLATES)))
 bin-clean: local-bin-clean
        -rm -rf $(outdir)