Makefile: 'make' to update version information in autoport and autodist

This commit is contained in:
Silvan Calarco 2012-04-26 16:04:52 +02:00
parent ab7277840f
commit f417ba6a7d
3 changed files with 4 additions and 3 deletions

View File

@ -34,6 +34,7 @@ distdir = $(PACKAGE)-$(VERSION)
dist_archive = $(distdir).tar.bz2 dist_archive = $(distdir).tar.bz2
default: default:
@sed -i "s|^VERSION=.*|VERSION=$(VERSION)|" autodist autoport
install-dirs: install-dirs:
@$(INSTALL_DIR) $(DESTDIR)$(configdir)/scripts @$(INSTALL_DIR) $(DESTDIR)$(configdir)/scripts
@ -92,7 +93,7 @@ install: \
clean: clean:
rm -f $(dist_archive) rm -f $(dist_archive)
dist: clean dist: clean default
@git log > ChangeLog.git @git log > ChangeLog.git
@mkdir /tmp/$(distdir) @mkdir /tmp/$(distdir)
@cp -a * /tmp/$(distdir)/ @cp -a * /tmp/$(distdir)/

View File

@ -5,7 +5,7 @@
# #
# Released under the terms of the GNU GPL release 3 license # Released under the terms of the GNU GPL release 3 license
# #
VERSION=0.8.3 VERSION=0.9.0
me=(${0##*/} $VERSION "Sat Aug 20 2010") me=(${0##*/} $VERSION "Sat Aug 20 2010")
exec 3>`readlink /proc/self/fd/0` exec 3>`readlink /proc/self/fd/0`

View File

@ -4,7 +4,7 @@
# #
# Released under the terms of the GNU GPL release 3 license # Released under the terms of the GNU GPL release 3 license
# #
VERSION=0.8.5 VERSION=0.9.0
BASE_ARCH=i586 BASE_ARCH=i586
BASE_REPOSITORY=devel BASE_REPOSITORY=devel
PORT_REPOSITORY=devel PORT_REPOSITORY=devel