]> granicus.if.org Git - recode/commitdiff
Makefile.am: Rule for the Web manual
authorFrançois Pinard <pinard@iro.umontreal.ca>
Sun, 18 Jul 2010 12:57:33 +0000 (08:57 -0400)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Sun, 18 Jul 2010 12:57:33 +0000 (08:57 -0400)
Makefile.am
src/recode.1

index d84015c0be1b801ed34574f78a9123085d69b6d8..93113d0863bcae097f737453eda06baff4a4ab73 100644 (file)
@@ -40,8 +40,18 @@ get-po-files:
 
 local:
        $(MAKE) -C contrib
-       ajuster-web $(top_srcdir)/web
-       make-manual $(top_srcdir)/doc/recode.texi $(top_srcdir)/web/manual
+       $(MAKE) manual
+
+manual:
+       cd $(top_srcdir) \
+         && rm -rf web/manual web/manual-tmp \
+         && mkdir web/manual web/manual-tmp \
+         && makeinfo --html --output=web/manual-tmp doc/recode.texi \
+         && cd web/manual-tmp \
+         && for file in *.html; do \
+              sed 's,href=",href="/manual/,g' $$file > ../manual/$$file; \
+            done
+       rm -rf $(top_srcdir)/web/manual-tmp
 
 publish:
        (cd $(top_srcdir) && \
index 131c2cbedc890adfce3625b325a85ada645964b2..83f9623c5f6e5ef7a7684fc570b290714d324cec 100644 (file)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
-.TH RECODE "1" "January 2010" "recode 3.7-beta2" "User Commands"
+.TH RECODE "1" "July 2010" "recode 3.7-beta2" "User Commands"
 .SH NAME
 recode \- converts files between character sets
 .SH SYNOPSIS