commit 2770561cecf417efc195b306e3a1ae3f08b8d91a
parent 0730b08d6bb0381423cf4015c689e33cf57cffbd
Author: Florian Dold <florian@dold.me>
Date: Tue, 9 Jun 2026 22:57:22 +0200
remove legacy files, bump script is obsolete, generate doxygen version via meson
Diffstat:
5 files changed, 2 insertions(+), 106 deletions(-)
diff --git a/contrib/Makefile.am.in b/contrib/Makefile.am.in
@@ -1,17 +0,0 @@
-# This file is in the public domain.
-
-SUBDIRS = .
-
-bin_SCRIPTS = \
- challenger-dbconfig
-
-EXTRA_DIST = \
- challenger-dbconfig
-
-spapkgdatadir = $(prefix)/share/challenger/spa/
-
-# This is for the single-page-app imported from the wallet-core.git
-# prebuilt branch. This MUST be the last line in the
-# Makefile.am.in, as it will be combined with the
-# actual SPA data by 'bootstrap'!
-dist_spapkgdata_DATA = \
diff --git a/contrib/bump b/contrib/bump
@@ -1,63 +0,0 @@
-#!/usr/bin/env bash
-# This file is in the public domain.
-set -eu
-
-if [ $# != 1 ]; then
- >&2 echo "Illegal number of arguments"
- >&2 echo "Usage: $0 <version>"
- exit -1
-fi
-
-PACKAGE=challenger
-VERSION="$1"
-DATE="$(date -R)"
-GIT_USER="$(git config user.name)"
-GIT_EMAIL="$(git config user.email)"
-
-function updated {
- local FILE=$1
- if [[ $(grep "${VERSION}" "${FILE}") ]]; then
- echo "${FILE} already in ${VERSION}"
- return -1
- fi
-}
-
-# update configure.ac
-function configure_ac {
- if [[ $(grep AC_INIT configure.ac | grep "${VERSION}") ]];
- then
- echo "configure.ac already in ${VERSION}"
- return 0
- fi
-
- sed -i "/AC_INIT/s/,\\[\\(.*\\)\\],/,[${VERSION}],/" configure.ac
- echo "configure.ac ${VERSION}"
-}
-
-# update debian/changelog
-function debian_changelog {
- updated debian/changelog || return 0
-
- cat <<EOF > ./debian/changelog.tmp
-$PACKAGE (${VERSION}) unstable; urgency=low
-
- * Release ${VERSION}.
-
- -- ${GIT_USER} <${GIT_EMAIL}> ${DATE}
-
-EOF
- cat ./debian/changelog >> ./debian/changelog.tmp
- mv ./debian/changelog.tmp ./debian/changelog
- echo "debian/changelog ${VERSION}"
-}
-
-function doc_doxygen_challenger_doxy {
- updated doc/doxygen/challenger.doxy || return 0
-
- sed -i "/PROJECT_NUMBER/s/= \(.*\)/= ${VERSION}/" doc/doxygen/challenger.doxy
- echo "doc/doxygen/challenger.doxy ${VERSION}"
-}
-
-configure_ac
-debian_changelog
-doc_doxygen_challenger_doxy
diff --git a/doc/Makefile.am b/doc/Makefile.am
@@ -1,25 +0,0 @@
-# This Makefile is in the public domain
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
-SUBDIRS = . doxygen
-
-man_MANS = \
- prebuilt/man/challenger-admin.1 \
- prebuilt/man/challenger-config.1 \
- prebuilt/man/challenger-dbconfig.1 \
- prebuilt/man/challenger-dbinit.1 \
- prebuilt/man/challenger-httpd.1 \
- prebuilt/man/challenger.conf.5
-
-info_TEXINFOS = \
- prebuilt/texinfo/challenger.texi
-
-install-info-local:
- @echo " $(MKDIR_P) '$(DESTDIR)$(infodir)/challenger-figures'"; \
- $(MKDIR_P) "$(DESTDIR)$(infodir)/challenger-figures" || exit 1; \
- echo " $(INSTALL_DATA) challenger.png '$(DESTDIR)$(infodir)/challenger-figures'"; \
- $(INSTALL_DATA) '$(srcdir)/prebuilt/texinfo/challenger-figures/challenger.png' "$(DESTDIR)$(infodir)/challenger-figures" || exit 1;
-
-EXTRA_DIST = \
- $(man_MANS) \
- $(info_TEXINFOS) \
- prebuilt/texinfo/challenger-figures/challenger.png
diff --git a/doc/doxygen/.gitignore b/doc/doxygen/.gitignore
@@ -1,3 +1,4 @@
html/
taler-exchange.tag
challenger.tag
+version.doxy
diff --git a/doc/doxygen/challenger.doxy b/doc/doxygen/challenger.doxy
@@ -38,7 +38,7 @@ PROJECT_NAME = "GNU Taler: Challenger"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.5.1
+@INCLUDE = "version.doxy"
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a