doc: Fix FAQ stub and remove faq build rules.

--

The FAQ is maintained in the gnupg-doc repo.
This commit is contained in:
Werner Koch 2015-03-04 15:10:52 +01:00
parent 82146af85b
commit 007d9d57da
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 4 additions and 25 deletions

View File

@ -3,11 +3,11 @@ GnuPG Frequently Asked Questions
A FAQ is a fast moving target and thus we don't distribute it anymore 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 with GnuPG. You may retrieve the current FAQ in HTML format at
http://www.gnupg.org/faq/GnuPG-FAQ.html https://gnupg.org/faq/gnupg-faq.html
or in plain text format at the FTP server: or in plain text format at
ftp://ftp.gnupg.org/gcrypt/gnupg/GnuPG-FAQ.txt https://gnupg.org/faq/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 faq.txt faq.html CLEANFILES = yat2m
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
@ -139,24 +139,3 @@ online: gnupg.html gnupg.pdf
cd gnupg.html ; \ cd gnupg.html ; \
rsync -vr --exclude='.git' . \ rsync -vr --exclude='.git' . \
$${user}@$${webhost}:webspace/manuals/gnupg$${dashdevel}/ $${user}@$${webhost}: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 ; webhost="ftp.gnupg.org" ; ftphost="ftp.gnupg.org" ; \
echo "Uploading current FAQ to {www,ftp}.gnupg.org ..."; \
scp faq.html $${user}@$${webhost}:webspace/manuals/GnuPG-FAQ.html ; \
scp faq.txt $${user}@$${ftphost}:gcrypt/gnupg/GnuPG-FAQ.txt ; \
echo "...ready"