Commit e85ba745 authored by cypherpunks's avatar cypherpunks Committed by Nick Mathewson
Browse files

Revive updateVersions.pl with `make update-versions`.

parent ce9bd4e0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 \
+1 −0
Original line number Diff line number Diff line
@@ -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
+3 −3
Original line number Diff line number Diff line
#!/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;