Revive updateVersions.pl with make update-versions.

This commit is contained in:
cypherpunks 2015-03-12 09:28:41 +01:00 committed by Nick Mathewson
parent ce9bd4e04c
commit e85ba7459e
3 changed files with 8 additions and 3 deletions

View File

@ -122,6 +122,10 @@ check-changes:
$(PYTHON) $(top_srcdir)/scripts/maint/lintChanges.py $(top_srcdir)/changes/*; \
fi
.PHONY: update-versions
update-versions:
$(PERL) $(top_builddir)/scripts/maint/updateVersions.pl
version:
@echo "Tor @VERSION@"
@if test -d "$(top_srcdir)/.git" && test -x "`which git 2>&1;true`"; then \

View File

@ -1664,6 +1664,7 @@ AC_CONFIG_FILES([
src/config/torrc.sample
src/config/torrc.minimal
scripts/maint/checkOptionDocs.pl
scripts/maint/updateVersions.pl
])
if test x$asciidoc = xtrue && test "$ASCIIDOC" = "none" ; then

View File

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
$CONFIGURE_IN = './configure.ac';
$ORCONFIG_H = './src/win32/orconfig.h';
$TOR_NSI = './contrib/win32build/tor-mingw.nsi.in';
$CONFIGURE_IN = '@abs_top_srcdir@/configure.ac';
$ORCONFIG_H = '@abs_top_srcdir@/src/win32/orconfig.h';
$TOR_NSI = '@abs_top_srcdir@/contrib/win32build/tor-mingw.nsi.in';
$quiet = 1;