1b2ad3b73c
* doc/Makefile.am: Remove uiserver.texi * doc/gpgme.texi: Remove UI-Server mentions. * doc/uiserver.texi: Removed. -- This prepares the removal of UI Server from implementing applications like Kleopatra. The only user of the UI Server is GpgEX and even that does not need it at all and is better served with process calls. GnuPG-Bug-Id: T4030
63 lines
2.1 KiB
Makefile
63 lines
2.1 KiB
Makefile
# doc - Automake template
|
|
# Copyright (C) 2001, 2004 g10 Code GmbH
|
|
#
|
|
# This file is part of GPGME.
|
|
#
|
|
# GPGME is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as
|
|
# published by the Free Software Foundation; either version 2.1 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# GPGME is distributed in the hope that it will be useful, but WITHOUT
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
|
# Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this program; if not, see <https://gnu.org/licenses/>.
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
DISTCLEANFILES = gpgme.tmp
|
|
CLEANFILES = mkdefsinc defs.inc
|
|
|
|
EXTRA_DIST = module-overview.sk HACKING DCO ChangeLog-2011 \
|
|
mkdefsinc.c defsincdate \
|
|
examples/gpgme-mozilla.json examples/gpgme-chrome.json
|
|
|
|
BUILT_SOURCES = defsincdate defs.inc
|
|
|
|
|
|
info_TEXINFOS = gpgme.texi
|
|
gpgme_TEXINFOS = lesser.texi gpl.texi
|
|
|
|
gpgme.texi : defs.inc
|
|
|
|
mkdefsinc: mkdefsinc.c Makefile $(top_builddir)/conf/config.h
|
|
$(CC_FOR_BUILD) -I. -I$(top_builddir)/conf -I$(srcdir) \
|
|
$(AM_CPPFLAGS) -o $@ $(srcdir)/mkdefsinc.c
|
|
|
|
dist-hook: defsincdate
|
|
|
|
defsincdate: $(gpgme_TEXINFOS)
|
|
: >defsincdate ; \
|
|
if test -e $(top_srcdir)/.git; then \
|
|
(cd $(srcdir) && git log -1 --format='%ct' -- \
|
|
$(info_TEXINFOS) $(gpgme_TEXINFOS) 2>/dev/null) >>defsincdate; \
|
|
fi
|
|
|
|
defs.inc: defsincdate Makefile mkdefsinc
|
|
incd="`test -f defsincdate || echo '$(srcdir)/'`defsincdate"; \
|
|
./mkdefsinc -C $(srcdir) --date "`cat $$incd 2>/dev/null`" \
|
|
$(info_TEXINFOS) $(gpgme_TEXINFOS) >$@
|
|
|
|
|
|
online: gpgme.html gpgme.pdf
|
|
set -e; \
|
|
echo "Uploading current manuals to www.gnupg.org ..."; \
|
|
user=werner ; \
|
|
(cd gpgme.html && rsync -vr --exclude='.svn' . \
|
|
$${user}@ftp.gnupg.org:webspace/manuals/gpgme/ ); \
|
|
rsync -v gpgme.pdf $${user}@ftp.gnupg.org:webspace/manuals/
|