diff options
author | Stephen Torri <storri@users.sourceforge.net> | 2004-08-08 00:34:17 +0000 |
---|---|---|
committer | Stephen Torri <storri@users.sourceforge.net> | 2004-08-08 00:34:17 +0000 |
commit | 3d1a29736bd6f8197b4e10d54603797f271d3bbc (patch) | |
tree | 415b4b5b212fbdad8d420963199aa3a2ffa52098 /doc/faq | |
parent | 12e358e72e094a2bc192526c374a6bb0ff82e968 (diff) | |
download | xine-lib-3d1a29736bd6f8197b4e10d54603797f271d3bbc.tar.gz xine-lib-3d1a29736bd6f8197b4e10d54603797f271d3bbc.tar.bz2 |
Added two AM_CONDITIONAL for handling if sgmltools and fig2dev are
available. HAVE_SGMLTOOLS is set if sgmltools is installed and
similar HAVE_FIG2DEV set for fig2dev.
Fixed error in 'uninstall' rule in Makefile.in.in in the po/
directory. It was using the $(PACKAGE) variable in the line to remove
the install po libraries. So it was looking for xine-lib.mo in all the
$(localedir)/<catalog>/LC_Messages directory. Switched this to look
for $(LIBNAME).mo files. This change matches the 'install' rule which
names the files libxine1.mo
CVS patchset: 6878
CVS date: 2004/08/08 00:34:17
Diffstat (limited to 'doc/faq')
-rw-r--r-- | doc/faq/Makefile.am | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index 3370a4c5f..d57e08cf9 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -21,10 +21,11 @@ dist-hook: faq.sgml: $(srcdir)/faq.sgml cp $^ . +if HAVE_SGMLTOOLS +faq.html: faq.sgml + $(SGMLTOOLS) -b onehtml faq.sgml; +else faq.html: faq.sgml - @if test "$(SGMLTOOLS)" != "no"; then \ - $(SGMLTOOLS) -b onehtml faq.sgml; \ - else \ if test "$(fail_if_missing)" = "yes"; then \ echo "Please install sgmltools-lite."; \ exit 1; \ @@ -34,11 +35,13 @@ faq.html: faq.sgml touch $^; \ fi; \ fi +endif +if HAVE_SGMLTOOLS +faq.txt: faq.sgml + $(SGMLTOOLS) -b txt faq.sgml; +else faq.txt: faq.sgml - @if test "$(SGMLTOOLS)" != "no"; then \ - $(SGMLTOOLS) -b txt faq.sgml; \ - else \ if test "$(fail_if_missing)" = "yes"; then \ echo "Please install sgmltools-lite."; \ exit 1; \ @@ -48,3 +51,4 @@ faq.txt: faq.sgml touch $^; \ fi; \ fi +endif |