gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11931: add update-preformat target


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11931: add update-preformat target to update the preformatted versions of the documentation.
Date: Wed, 10 Feb 2010 12:39:39 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 11931
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Wed 2010-02-10 12:39:39 -0700
message:
  add update-preformat target to update the preformatted versions of the 
documentation.
modified:
  doc/C/Makefile.am
=== modified file 'doc/C/Makefile.am'
--- a/doc/C/Makefile.am 2010-02-09 04:14:24 +0000
+++ b/doc/C/Makefile.am 2010-02-10 19:39:39 +0000
@@ -431,6 +431,24 @@
        gtk-gnash.1 \
        kde4-gnash.1
 
+# This updates the copies of the manuals that are stored preformatted
+# so not everyone needs to get Docbook working well enough to produce
+# the documentation. This should only be used by developers after
+# making changes to a documentation source file.
+if DOCBOOK
+update-preformats:
+       address@hidden type in 1 html info; do \
+         for i in *.$${type}; do \
+           name=$${i/\.$${type}/.$${type}.in}; \
+           diff=`diff --brief $$i $(srcdir)/preformatted/$${name}`; \
+           if test ! x"$${diff}" = x; then \
+             echo "Updating the preformatted/$${name}"; \
+             cp $$i $(srcdir)/preformatted/$${name}; \
+           fi; \
+         done; \
+       done
+endif
+
 # Always execute these targets as they have no real dependencies.
-.PHONY: images install-info-hook uninstall-info-hook install-html-hook 
uninstall-html-hook uninstall-data-hook install-data-hook images 
install-extra-man
+.PHONY: images install-info-hook uninstall-info-hook install-html-hook 
uninstall-html-hook uninstall-data-hook install-data-hook images install-man1
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]