diff options
author | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2005-06-29 14:31:26 +0000 |
---|---|---|
committer | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2005-06-29 14:31:26 +0000 |
commit | c99c4bf40f35b1abd9d88d230c0d8bc7073e7387 (patch) | |
tree | 9d194c48f37fca7f93dd00a6fcb5ab6ad966d751 | |
parent | a11f3884c0ef31abedaa8c4c09ff4ca2dba02a81 (diff) | |
download | fedora-doc-utils-c99c4bf40f35b1abd9d88d230c0d8bc7073e7387.tar.gz fedora-doc-utils-c99c4bf40f35b1abd9d88d230c0d8bc7073e7387.tar.xz fedora-doc-utils-c99c4bf40f35b1abd9d88d230c0d8bc7073e7387.zip |
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.
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index 959404f..c6bfc8b 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 |