Author: thebeing
Date: Wed Mar  2 11:52:12 2016
New Revision: 39437

URL: http://svn.gna.org/viewcvs/gnustep?rev=39437&view=rev
Log:
Let the user skip building documentation if skip_documentation=yes is
supplied to the make invocation.

Modified:
    tools/make/trunk/ChangeLog
    tools/make/trunk/Documentation/gnustep-make.texi
    tools/make/trunk/Master/documentation.make

Modified: tools/make/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/ChangeLog?rev=39437&r1=39436&r2=39437&view=diff
==============================================================================
--- tools/make/trunk/ChangeLog  (original)
+++ tools/make/trunk/ChangeLog  Wed Mar  2 11:52:12 2016
@@ -1,3 +1,11 @@
+2016-03-02 Niels Grewe <[email protected]>
+       * Master/documentation.make:
+       Support skipping the documentation build if skip_documentation=yes
+       is supplied
+       * Documentation/gnustep-make.texi:
+       Document the new skip_documentation feature (and messages=yes, which
+       as also missing).
+
 2015-12-11 23:34-EST Gregory John Casamento <[email protected]>
 
        * common.make: Mute error when trying to parse redhat-version

Modified: tools/make/trunk/Documentation/gnustep-make.texi
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/Documentation/gnustep-make.texi?rev=39437&r1=39436&r2=39437&view=diff
==============================================================================
--- tools/make/trunk/Documentation/gnustep-make.texi    (original)
+++ tools/make/trunk/Documentation/gnustep-make.texi    Wed Mar  2 11:52:12 2016
@@ -1515,4 +1515,24 @@
 By default the Makefile Package sets
 @code{GNUSTEP_INSTALLATION_DOMAIN} to @code{LOCAL}.
 
+@defvar messages
+@code{messages} can be set to @samp{yes} in order to increase the
+verbosity and see all the commands the make is executing.
+@end defvar
+
+@smallexample
+make messages=yes
+@end smallexample
+
+@defvar skip_documentation
+@code{skip_documentation} controls whether the documentation targets in
+a project will be executed. If you don't desire building the
+documentation (which might require a working LaTeX installation, etc.)
+you can set this to @samp{yes}.
+@end defvar
+
+@smallexample
+make skip_documentation=yes
+@end smallexample
+
 @bye

Modified: tools/make/trunk/Master/documentation.make
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/Master/documentation.make?rev=39437&r1=39436&r2=39437&view=diff
==============================================================================
--- tools/make/trunk/Master/documentation.make  (original)
+++ tools/make/trunk/Master/documentation.make  Wed Mar  2 11:52:12 2016
@@ -24,6 +24,18 @@
 include $(GNUSTEP_MAKEFILES)/rules.make
 endif
 
+ifeq ($(skip_documentation),yes)
+internal-all::
+  $(info Not building documentation on user request)
+internal-install::
+  $(info Not building documentation on user request)
+internal-uninstall::
+  $(info Not building documentation on user request)
+internal-clean::
+  $(info Not building documentation on user request)
+insternal-distclean::
+  $(info Not building documentation on user request)
+else
 DOCUMENT_NAME := $(strip $(DOCUMENT_NAME))
 DOCUMENT_TEXT_NAME := $(strip $(DOCUMENT_TEXT_NAME))
 
@@ -42,7 +54,7 @@
 
 internal-distclean:: $(DOCUMENT_NAME:=.distclean.doc.variables) \
                      $(DOCUMENT_TEXT_NAME:=.distclean.textdoc.variables)
-
+endif
 #$(DOCUMENT_NAME):
 #      @$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory \
 #              [email protected]


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to