summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2005-11-15 23:10:46 +0000
committerPaul W. Frields <stickster@gmail.com>2005-11-15 23:10:46 +0000
commitac89811f761fc4bbdbc5d2850c2161c2a40b6a44 (patch)
tree43c4c4b4f1ba1e502dbbb0e5a62294f654924cdd /Makefile.common
parent224657fa75b06397b9fbca746f84095e25409cd6 (diff)
downloadfedora-doc-utils-ac89811f761fc4bbdbc5d2850c2161c2a40b6a44.tar.gz
fedora-doc-utils-ac89811f761fc4bbdbc5d2850c2161c2a40b6a44.tar.xz
fedora-doc-utils-ac89811f761fc4bbdbc5d2850c2161c2a40b6a44.zip
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.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common6
1 files changed, 5 insertions, 1 deletions
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