diff --git a/Makefile b/Makefile index 7d7db16..319c23c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Makefile for autodist -# Copyright (C) 2006-2021 by Silvan Calarco +# Copyright (C) 2006-2025 by Silvan Calarco # PACKAGE = autodist @@ -38,7 +38,6 @@ distdir = $(PACKAGE)-$(VERSION) dist_archive = $(distdir).tar.bz2 default: - @sed -i "s|^VERSION=.*|VERSION=$(VERSION)|" autodist autoport install-dirs: @$(INSTALL_DIR) $(DESTDIR)$(configdir)/scripts @@ -91,6 +90,7 @@ install-programs: @$(INSTALL_SCRIPT) telegram/openmamba_bot.py $(DESTDIR)$(pck_datadir)/openmamba_bot.py @$(INSTALL_SCRIPT) telegram/requirements.txt $(DESTDIR)$(pck_datadir)/requirements.txt @$(INSTALL_SCRIPT) repology-openmamba.py $(DESTDIR)$(pck_datadir)/repology-openmamba.py + @$(INSTALL_DATA) VERSION $(DESTDIR)$(pck_datadir)/VERSION @cp -a webbuild/html/* $(DESTDIR)$(htmldir) install-data: diff --git a/autoport b/autoport index a64c183..9b3fdc2 100755 --- a/autoport +++ b/autoport @@ -1,22 +1,22 @@ #!/bin/bash # autoport -- batch cross-build tool based on autodist -# Copyright (C) 2011-2024 by Silvan Calarco +# Copyright (C) 2011-2025 by Silvan Calarco # # Released under the terms of the GNU GPL release 3 license # -VERSION=1.6.2 +. /usr/share/autodist/VERSION BASE_REPOSITORY=base PORT_REPOSITORY=base . /etc/autodist/config -me=(${0##*/} $VERSION "Sat Mar 20 2011") +me=(${0##*/} $VERSION) function usage() { echo "\ ${me[0]} ${me[1]} -"$"Copyright (C) 2011-2023 Silvan Calarco "" +"$"Copyright (C) 2011-2025 Silvan Calarco "" "$"Released under the terms of the GNU GPL v3 license" echo " "$"Batch port and cross-build tool based on autodist.""