summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Varshavchik2020-01-25 15:52:40 -0500
committerSam Varshavchik2020-01-25 15:52:40 -0500
commit7e3f4250188ff17ac6ba543be3816b9db7562850 (patch)
treeb4162a9623a660c9cd3a24d7d19659bab18a9e37
parent8214452162033fea2102557605aa1c7893b08df2 (diff)
downloadcourier-libs-7e3f4250188ff17ac6ba543be3816b9db7562850.tar.bz2
Fix build from git checkout.
-rw-r--r--unicode/.gitignore1
-rw-r--r--unicode/Makefile.am12
-rw-r--r--unicode/README6
3 files changed, 11 insertions, 8 deletions
diff --git a/unicode/.gitignore b/unicode/.gitignore
index 9e600eb..97f973c 100644
--- a/unicode/.gitignore
+++ b/unicode/.gitignore
@@ -25,6 +25,7 @@
/linebreaktest
/ltmain.sh
/man
+/man.stamp
/missing
/rpm
/rpm.release
diff --git a/unicode/Makefile.am b/unicode/Makefile.am
index e9fb050..e25791e 100644
--- a/unicode/Makefile.am
+++ b/unicode/Makefile.am
@@ -225,12 +225,20 @@ docs:
--stringparam root.filename 'index' \
--stringparam generate.id.attributes 1 \
$(srcdir)/docbook/docbook.xsl $(srcdir)/book.xml
- for f in html.tmp/*; do tidy -i -q --tidy-mark no --doctype transitional --input-encoding utf8 --output-encoding utf8 -asxml <$$f >$$f.tmp; xsltproc --nonet $$HOME/www/www.courier-mta.org/xsl/unicode.xsl $$f.tmp | perl -ne 's~\$(id):.*\$$~\$(id):'"$$h"'\$$~; print' >$$f; rm -f $$f.tmp; done
+ for f in html.tmp/*; do tidy -i -q --tidy-mark no --doctype transitional --input-encoding utf8 --output-encoding utf8 -asxml <$$f >$$f.tmp; xsltproc --nonet $$HOME/www/hostrocket/courier-mta.org/xsl/unicode.xsl $$f.tmp | perl -ne 's~\$(id):.*\$$~\$(id):'"$$h"'\$$~; print' >$$f; rm -f $$f.tmp; done
mkdir -p html
rm -f html/*
mv html.tmp/* html
cp -p docbook/frame.js docbook/icon.gif docbook/book.css html
+
+if HAVE_DOCS
+all-am: man.stamp
+
+$(man_MANS): man.stamp
+ touch $@
+
+man.stamp:
rm -rf man.tmp
mkdir man.tmp
d=`cd $(srcdir); pwd`; cd man.tmp; xsltproc --nonet --xinclude \
@@ -241,8 +249,8 @@ docs:
mv man.tmp/* man
rm -rf html.tmp man.tmp
perl -p -i -e 's/:/[\\:]/g if s@^man_MANS=.*@"man_MANS=" . join(" ", map { "\$$(srcdir)/$$_" } glob("man/*.[123456789]"))@e' Makefile.am
+ touch man.stamp
-if HAVE_DOCS
all-am: INSTALL README
README: html/index.html
diff --git a/unicode/README b/unicode/README
index 47f2441..2aeb1f0 100644
--- a/unicode/README
+++ b/unicode/README
@@ -1,12 +1,6 @@
Link: Courier Unicode Library (start)
Link: Installation and usage (next)
- Courier Unicode Library
-      Next
-
- --------------------------------------------------------------------------
-
-
Courier Unicode Library
--------------------------------------------------------------------------