From: François Pinard Date: Sun, 18 Jul 2010 12:57:33 +0000 (-0400) Subject: Makefile.am: Rule for the Web manual X-Git-Tag: v3.7~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e894c12c335e8f2cdcacc89b69a2cbe867a299a;p=recode Makefile.am: Rule for the Web manual --- diff --git a/Makefile.am b/Makefile.am index d84015c..93113d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) && \ diff --git a/src/recode.1 b/src/recode.1 index 131c2cb..83f9623 100644 --- a/src/recode.1 +++ b/src/recode.1 @@ -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