1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Add a static FAQ.

Add rules to build and upload the faqs.
This commit is contained in:
Werner Koch 2010-10-05 13:56:25 +00:00
parent adfa280d6f
commit aac728f33e
4 changed files with 378 additions and 419 deletions

View File

@ -1,3 +1,7 @@
2010-10-05 Werner Koch <wk@g10code.com>
* Makefile.am (faq.txt faq.html, faq-online): New.
2010-10-04 Werner Koch <wk@g10code.com> 2010-10-04 Werner Koch <wk@g10code.com>
* faq.org: New. * faq.org: New.

13
doc/FAQ Normal file
View File

@ -0,0 +1,13 @@
GnuPG Frequently Asked Questions
A FAQ is a fast moving target and thus we don't distribute it anymore
with GnuPG. You may retrieve the current FAQ in HTML format at
http://www.gnupg.org/faq/GnuPG-FAQ.html
or in plain text format at the FTP server:
ftp://ftp.gnupg.org/gcrypt/gnupg/GnuPG-FAQ.txt

View File

@ -75,7 +75,7 @@ man_MANS = $(myman_pages) gnupg.7
watchgnupg_SOURCE = gnupg.texi watchgnupg_SOURCE = gnupg.texi
CLEANFILES = yat2m CLEANFILES = yat2m faq.txt faq.html
DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \ DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \
$(myman_pages) gnupg.7 $(myman_pages) gnupg.7
@ -140,3 +140,24 @@ online: gnupg.html gnupg.pdf
rsync -vr --exclude='.svn' . \ rsync -vr --exclude='.svn' . \
$${user}@cvs.gnupg.org:webspace/manuals/gnupg$${dashdevel}/ $${user}@cvs.gnupg.org:webspace/manuals/gnupg$${dashdevel}/
# Note that you need a recent version of emacs23 with org-mode 7.01h
faq.txt faq.html: faq.org
@set -e; expopt="t nil nil nil \"$$(pwd)\""; \
emacs --batch \
--eval "(require 'org)" \
--visit "$(srcdir)/faq.org" \
--eval "(setq org-export-ascii-entities 'utf8)" \
--eval "(org-export-as-ascii org-export-headline-levels $${expopt})"\
--visit "$(srcdir)/faq.org" \
--eval "(setq org-export-html-style-include-default nil)" \
--eval "(setq org-export-html-style-include-scripts nil)" \
--eval "(org-export-as-html org-export-headline-levels $${expopt})"
faq-online: faq.txt faq.html
set -e; \
user=werner ; \
echo "Uploading current FAQ to {www,ftp}.gnupg.org ..."; \
scp faq.html $${user}@ftp.gnupg.org:webspace/manuals/GnuPG-FAQ.html ; \
scp faq.txt $${user}@ftp.gnupg.org:gcrypt/gnupg/GnuPG-FAQ.txt ; \
echo "...ready"

File diff suppressed because it is too large Load Diff