docs-common Makefile.common,1.4,1.5
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Wed Jun 29 14:31:28 UTC 2005
Author: jtr
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8706
Modified Files:
Makefile.common
Log Message:
1) Added proper ".PHONY" declaration for pseudo-targets like "html" and "pdf".
2) Changed tarball dependancy from "html" to the "${DOCNAME}/index.html"
target to avoid unnecessary rebuilds.
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile.common 29 Jun 2005 14:16:11 -0000 1.4
+++ Makefile.common 29 Jun 2005 14:31:26 -0000 1.5
@@ -24,12 +24,14 @@
# PUT NO TARGETS BEFORE THIS ONE, not even in your base Makefile
# In a properly-constructed Makefile, this will be the default target
+.PHONY: all tarball pdf html html-nochunks clean distclean
+
all:: ${DOCNAME}/index.html
# The "tarball" or "${DOCNAME}.tar.gz" target will bind the HTML formatted
# document into a compressed tar archive.
-tarball ${DOCNAME}.tar.gz:: html
+tarball ${DOCNAME}.tar.gz:: ${DOCNAME}/index.html
tar -zcf ${DOCNAME}.tar.gz ${DOCNAME}
# The "pdf" or "${DOCNAME}.pdf" target produces an Adobe Portable Document
More information about the Fedora-docs-commits
mailing list