docs-common Makefile.common,1.12,1.13

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Nov 15 23:10:53 UTC 2005


Author: pfrields

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28596

Modified Files:
	Makefile.common 
Log Message:
Added one new target, "showvars".  The new target is used to grab variables from inside the document-specific makefiles for use in external bash scripts.  Additional variables can be added to the list.



Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Makefile.common	30 Oct 2005 19:15:40 -0000	1.12
+++ Makefile.common	15 Nov 2005 23:10:46 -0000	1.13
@@ -51,7 +51,7 @@
 # PUT NO TARGETS BEFORE THIS ONE, not even in your base Makefile
 # In a properly-constructed Makefile, this will be the default target
 
-TARGETS=all tarball pdf html html-nochunks clean distclean
+TARGETS=all tarball pdf html html-nochunks clean distclean showvars
 .PHONY:	${TARGETS}
 
 all::	html html-nochunks tarball # pdf
@@ -141,6 +141,10 @@
 distclean clean:: $(foreach LANG,${LANGUAGES},${DOCBASE}-${LANG}-clean)
 
 $(foreach LANG,${LANGUAGES},$(eval $(call CLEAN_template,${LANG})))
+
+showvars::
+	@echo "DOCBASE=\"$(DOCBASE)\""
+	@echo "LANGUAGES=\"$(LANGUAGES)\""
 #
 #########################################################################
 # End of Makefile.common




More information about the docs-commits mailing list