diff options
author | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2005-07-12 15:28:36 +0000 |
---|---|---|
committer | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2005-07-12 15:28:36 +0000 |
commit | 95b76cf6e842727a2f2995594ac48eb1d0232ed4 (patch) | |
tree | dba4f6fa0359b5676912ebd5fc91032e1b7cdf1a /Makefile.common | |
parent | 2f7cd932bb7e733ce6412368e30b3261789bcf3f (diff) | |
download | fedora-doc-utils-95b76cf6e842727a2f2995594ac48eb1d0232ed4.tar.gz fedora-doc-utils-95b76cf6e842727a2f2995594ac48eb1d0232ed4.tar.xz fedora-doc-utils-95b76cf6e842727a2f2995594ac48eb1d0232ed4.zip |
Added "make view" target to display the HTML-formatted document using the
htmlview(1) tool's default viewier.
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index a7ad267..5ba4f83 100644 --- a/Makefile.common +++ b/Makefile.common @@ -53,6 +53,15 @@ html-nochunks $(DOCNAME).html:: ${XMLFILE} ${XMLEXTRAFILES} cp ../docs-common/stylesheet-images/*.png stylesheet-images cp ../docs-common/css/fedora.css . +# The "view" target ensures that the HTML version of the document is built +# then displays it using the "htmlview" tool to start up the browser. It +# assumes that the current working directory is immediately above the HTML +# document directory. (We could change this if we wanted to futz around +# with making up an absolute pathname, but why bother.) + +view:: ${DOCNAME}/index.html + /usr/bin/htmlview file://localhost/${PWD}/${DOCNAME}/index.html + # The "clean" or "distclean" target will remove all generated and temporary # files. |