From ac89811f761fc4bbdbc5d2850c2161c2a40b6a44 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Tue, 15 Nov 2005 23:10:46 +0000 Subject: 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. --- Makefile.common | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index 568ed1c..7a1655e 100644 --- a/Makefile.common +++ b/Makefile.common @@ -51,7 +51,7 @@ XMLTO =xmlto # 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 @@ endef 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 -- cgit