1## Process this file with automake to create Makefile.in 2# Copyright (C) 2002 Free Software Foundation, Inc. 3# 4# This file is part of Libgcrypt. 5# 6# Libgcrypt is free software; you can redistribute it and/or modify 7# it under the terms of the GNU Lesser General Public License as 8# published by the Free Software Foundation; either version 2.1 of 9# the License, or (at your option) any later version. 10# 11# Libgcrypt is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU Lesser General Public License for more details. 15# 16# You should have received a copy of the GNU Lesser General Public 17# License along with this program; if not, write to the Free Software 18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 19 20EXTRA_DIST = README.apichanges HACKING \ 21 libgcrypt-modules.eps fips-fsm.eps \ 22 libgcrypt-modules.png fips-fsm.png \ 23 libgcrypt-modules.pdf fips-fsm.pdf 24 25DISTCLEANFILES = gcrypt.cps 26 27BUILT_SOURCES = libgcrypt-modules.eps fips-fsm.eps \ 28 libgcrypt-modules.png fips-fsm.png \ 29 libgcrypt-modules.pdf fips-fsm.pdf 30 31info_TEXINFOS = gcrypt.texi 32gcrypt_TEXINFOS = lgpl.texi gpl.texi libgcrypt-modules.fig fips-fsm.fig 33 34 35.fig.png: 36 fig2dev -L png `test -f '$<' || echo '$(srcdir)/'`$< $@ 37 38.fig.jpg: 39 fig2dev -L jpg `test -f '$<' || echo '$(srcdir)/'`$< $@ 40 41.fig.eps: 42 fig2dev -L eps `test -f '$<' || echo '$(srcdir)/'`$< $@ 43 44.fig.pdf: 45 fig2dev -L pdf `test -f '$<' || echo '$(srcdir)/'`$< $@ 46 47 48# Make sure that gcrypt.texi is touched if any other source file has 49# been modified. This is required so that the version.texi magic 50# updates the release date. 51gnupg.texi : $(gcrypt_TEXINFOS) 52 touch $(srcdir)/gcrypt.texi 53 54online: gcrypt.html gcrypt.pdf gcrypt.info 55 set -e; \ 56 echo "Uploading current manuals to www.gnupg.org ..."; \ 57 cp libgcrypt-modules.png gcrypt.html/; \ 58 cp fips-fsm.png gcrypt.html/; \ 59 user=werner ; dashdevel="" ; \ 60 if echo "@PACKAGE_VERSION@" | grep -- "-svn" >/dev/null; then \ 61 dashdevel="-devel" ; \ 62 cp gcrypt.pdf gcrypt.html/; \ 63 cp gcrypt.info gcrypt.html/; \ 64 else \ 65 rsync -v gcrypt.pdf gcrypt.info \ 66 $${user}@trithemius.gnupg.org:webspace/manuals/ ; \ 67 fi ; \ 68 cd gcrypt.html ; \ 69 rsync -vr --exclude='.svn' . \ 70 $${user}@trithemius.gnupg.org:webspace/manuals/gcrypt$${dashdevel}/ 71