1 # Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
3 # This file is part of GnuPG.
5 # GnuPG is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # GnuPG is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 ## Process this file with automake to create Makefile.in
21 AUTOMAKE_OPTIONS = no-texinfo.tex
23 EXTRA_DIST = DETAILS gpg.sgml gpg.1 gpgv.sgml gpgv.1 faq.raw FAQ faq.html \
24 HACKING OpenPGP README.W32 samplekeys.asc gnupg.7 \
25 TRANSLATE gpg.ru.sgml gpg.ru.1 highlights-1.4.txt
27 man_MANS = gpg.1 gpgv.1 gnupg.7 gpg.ru.1
29 info_TEXINFOS = gpg.texi gpgv.texi
31 # Need this to avoid building of dvis with automake 1.4
34 pkgdata_DATA = FAQ faq.html
36 BUILT_SOURCES = FAQ faq.html
37 # we can't add gpg.texi gpgv.texi here because automake does not like them to
40 CLEANFILES = faq.raw.xref gpg.xml gpgv.xml gpg.ru.xml
43 # We better build the texi versions manually.
45 #if HAVE_DOCBOOK_TO_TEXI
46 # docbook2texi $< | sed 's,--,---,' \
47 # | $(top_srcdir)/scripts/fix-db-texi $@ >$@
49 # : Warning: missing docbook to texinfo tools, cannot make $@
54 #if HAVE_DOCBOOK_TO_TEXI
55 # sgml2xml -x lower $< >$@
57 # : Warning: missing docbook to texinfo tools, cannot make $@
63 if HAVE_DOCBOOK_TO_MAN
66 : Warning: missing docbook-to-man, cannot make $@
68 echo "No man page due to missing docbook-to-man" >>$@
73 $(FAQPROG) -f $< $@ || $(FAQPROG) -f $< $@
75 : Warning: missing faqprog.pl, cannot make $@
76 echo "No $@ due to missing faqprog.pl" > $@
77 echo "See ftp://ftp.gnupg.org/gcrypt/contrib/faqprog.pl" >> $@
82 $(FAQPROG) -h -f $< $@ 2>&1 || $(FAQPROG) -h -f $< $@
84 : Warning: missing faqprog.pl, cannot make $@
85 echo "No $@ due to missing faqprog.pl" > $@
86 echo "See ftp://ftp.gnupg.org/gcrypt/contrib/faqprog.pl" >> $@
90 @if test "`wc -c < gpg.1`" -lt 200; then \
91 echo 'ERROR: dummy man page'; false; fi