summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-20 23:58:54 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:56 +0200
commit5650d3ce74fe826fe8cebdfd0d27f6ed1bbc839a (patch)
tree65b0ce0883660124eb24b6e6a789349068921895
parent1e45a1148f4d5a66357b71c630686c655f674cd6 (diff)
2006-11-21 Thomas Schwinge <tschwinge@gnu.org>
* doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local): New targets to faciliate keeping the web pages of the GNU Mach Reference Manual updated.
-rw-r--r--ChangeLog17
-rw-r--r--doc/Makefrag.am93
2 files changed, 104 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 835adea..92302c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,16 @@
+2006-11-21 Thomas Schwinge <tschwinge@gnu.org>
+
+ * doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local): New
+ targets to faciliate keeping the web pages of the GNU Mach Reference
+ Manual updated.
+
2006-11-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
Asm tidy.
-
- * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm
- statements, add `ax' clobber.
- (fpe_exception_fixup): Drop bogus cast from input parameter of lcall asm
- statement.
+ * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm
+ statements, add `ax' clobber.
+ (fpe_exception_fixup): Drop bogus cast from input parameter of lcall
+ asm statement.
* i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w
instruction variant.
* i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop
@@ -15,7 +20,7 @@
* i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'.
De4x5 probe fixup.
- * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on
+ * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on
any error, not only device not found.
2006-11-17 Constantine Kousoulos <wuwei@freemail.gr>
diff --git a/doc/Makefrag.am b/doc/Makefrag.am
index 169d2b8..21d07aa 100644
--- a/doc/Makefrag.am
+++ b/doc/Makefrag.am
@@ -24,3 +24,96 @@ info_TEXINFOS += \
doc/mach.texi
mach_TEXINFOS = \
doc/fdl.texi doc/gpl.texi
+
+#
+# Web pages of the GNU Mach Reference Manual.
+#
+
+web = doc/web
+
+# Prepare a checkout in `$(web)/' of the web pages of the GNU Mach Reference
+# Manual, using the same account that was used for the source code.
+.PHONY: $(web)
+$(web):
+ if test -d $@/CVS; then :; else \
+ mkdir $@ $@/CVS && \
+ sed -e s%cvsroot%web% \
+ < $(top_srcdir)/CVS/Root \
+ > $@/CVS/Root && \
+ echo hurd/gnumach-doc \
+ > $@/CVS/Repository && \
+ : > $@/CVS/Entries; \
+ fi
+ cd $@/ && \
+ cvs update
+ $(MAKE) $(AM_MAKEFLAGS) \
+ html \
+ ps \
+ pdf
+
+# Update the files, if such a checkout exists.
+html-local:
+ if test -d $(web); then \
+ ( cd $(web)/ && \
+ for f in *.html; do \
+ if test -f ../../$(HTMLS)/"$$f"; then :; else \
+ echo "\`$$f' isn't anymore. Removing." && \
+ rm "$$f" && \
+ cvs remove "$$f"; \
+ fi; \
+ done ) && \
+ cp $(HTMLS)/*.html $(web)/ && \
+ cd $(web)/ && \
+ { cvs add *.html || :; }; \
+ elif grep -q :ext: $(top_srcdir)/CVS/Root; then \
+ echo "*** As it seems that you'd be allowed to check in the" \
+ "possible resulting fixes, you may cosider running" \
+ " \`make $(web)' to get a checkout of the web pages of the" \
+ "GNU Mach manual and have possible changes installed into" \
+ "\`$(web)/', ready for checking them in in there."; \
+ fi
+ps-local:
+ if test -d $(web); then \
+ ( cd $(web)/ && \
+ for f in *.ps; do \
+ case \ $(PSS)\ in \
+ \ doc/"$$f"\ ) :;; \
+ *) echo "\`$$f' isn't anymore. Removing." && \
+ rm -f "$$f" "$$f".ps && \
+ cvs remove "$$f" "$$f".ps ;; \
+ esac; \
+ done ) && \
+ cp $(PSS) $(web)/ && \
+ cd $(web)/ && \
+ for f in *.ps; do \
+ gzip -9 < "$$f" > "$$f".gz; \
+ done && \
+ { cvs add *.ps *.ps.gz || :; }; \
+ elif grep -q :ext: $(top_srcdir)/CVS/Root; then \
+ echo "*** As it seems that you'd be allowed to check in the" \
+ "possible resulting fixes, you may cosider running" \
+ " \`make $(web)' to get a checkout of the web pages of the" \
+ "GNU Mach manual and have possible changes installed into" \
+ "\`$(web)/', ready for checking them in in there."; \
+ fi
+pdf-local:
+ if test -d $(web); then \
+ ( cd $(web)/ && \
+ for f in *.pdf; do \
+ case \ $(PDFS)\ in \
+ \ doc/"$$f"\ ) :;; \
+ *) echo "\`$$f' isn't anymore. Removing." && \
+ rm "$$f" && \
+ cvs remove "$$f";; \
+ esac; \
+ done ) && \
+ cp $(PDFS) $(web)/ && \
+ cd $(web)/ && \
+ { cvs add *.pdf || :; }; \
+ elif grep -q :ext: $(top_srcdir)/CVS/Root; then \
+ echo "*** As it seems that you'd be allowed to check in the" \
+ "possible resulting fixes, you may cosider running" \
+ " \`make $(web)' to get a checkout of the web pages of the" \
+ "GNU Mach manual and have possible changes installed into" \
+ "\`$(web)/', ready for checking them in in there."; \
+ fi