Revert "October 2019 review. See discussion in GnuPG-Users."
[gnupg-doc.git] / web / faq / Makefile
1
2 srcdir = .
3
4 # Note that you need a recent version of emacs23 with org-mode 7.01h
5 #
6 # Note that due to a problem with hyperref we are currently not able
7 # to build a pdf version
8 #
9 #         --visit "$(srcdir)/gnupg-faq.org" \
10 #         --eval "(org-latex-export-to-pdf)"\
11 #
12
13 gnupg-faq.txt gnupg-faq.html: gnupg-faq.org
14         @set -e; \
15          emacs  --batch \
16           --eval "(require 'org)" \
17           --visit "$(srcdir)/gnupg-faq.org" \
18           --eval "(org-ascii-export-to-ascii)"
19
20 faq-online: gnupg-faq.txt gnupg-faq.html
21         set -e; \
22         user=werner ; \
23         echo "Uploading current FAQ to ftp.gnupg.org ..."; \
24         scp gnupg-faq.txt  $${user}@ftp.gnupg.org:gcrypt/gnupg/GnuPG-FAQ.txt; \
25         echo "...ready"