Update of /cvsroot/mahogany/M/doc/HtmlHlp
In directory sc8-pr-cvs1:/tmp/cvs-serv7729/doc/HtmlHlp
Modified Files:
Makefile
Log Message:
Use explicit copy to update generated docs in source tree
Index: Makefile
===================================================================
RCS file: /cvsroot/mahogany/M/doc/HtmlHlp/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -u -2 -r1.6 -r1.7
--- Makefile 4 Aug 2003 23:04:21 -0000 1.6
+++ Makefile 26 Sep 2003 15:59:29 -0000 1.7
@@ -4,28 +4,35 @@
include ../../makeopts
-htmlhlp: .src/Manual.hhc
+GENERATED = Manual.tex Manual.html Manual.hhc
+BACK_TO_SOURCES = $(patsubst %,.src/%,$(GENERATED)) .src/Manual.html
-.src/Manual.tex: .src/../Manual.htex
+htmlhlp: Manual.hhc
+
+Manual.tex: .src/../Manual.htex
../../.src/extra/scripts/striphelpids $< > $@
# latex2html options are needed to produce a single HTML file without
# any navigation buttons which we don't need in CHM files anyhow
-.src/Manual.html: .src/Manual.tex
- @cd .src; \
- if [ ! -d Manual ]; then mkdir Manual; fi; \
+Manual.html: Manual.tex
+ @if [ ! -d Manual ]; then mkdir Manual; fi; \
$(LATEX2HTML) -local_icons -split 0 -info 0 -verbosity 0 -no_navigation \
-dir Manual Manual.tex; \
mv Manual/Manual.html .
-.src/Manual.hhc: .src/Manual.html
- cd .src && $(PERL) -w makehhc.pl
+Manual.hhc: Manual.html
+ $(PERL) -w .src/makehhc.pl
install: htmlhlp
- $(INSTALL_DATA) .src/Manual.hhc .src/Manual.hhp .src/Manual.html $(DOCDIR)
+ $(INSTALL_DATA) Manual.hhc .src/Manual.hhp Manual.html $(DOCDIR)
@# this file must exist or HTML help controller complains
touch $(DOCDIR)/Manual.hhk
+$(BACK_TO_SOURCES): .src/%: %
+ cp $< $@
+
+update: $(BACK_TO_SOURCES)
+
clean:
- rm -rf .src/Manual .src/Manual.tex .src/Manual.html
+ rm -rf Manual Manual.tex Manual.html
-.PHONY: htmlhlp clean
+.PHONY: htmlhlp update clean
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates