diff options
author | Tobias Oetiker <tobi@oetiker.ch> | 2011-11-12 11:56:27 +0100 |
---|---|---|
committer | Tobias Oetiker <tobi@oetiker.ch> | 2011-11-12 11:56:27 +0100 |
commit | 7cef01f0089476f9b39e28cda0871c2a5ced72d9 (patch) | |
tree | d60ffe57e24f8af97ac0c8bab7c428ef869fce1b | |
parent | 913c728d0d06bd67d5e9db29de8794ee596a347f (diff) | |
download | smokeping-7cef01f0089476f9b39e28cda0871c2a5ced72d9.tar.gz smokeping-7cef01f0089476f9b39e28cda0871c2a5ced72d9.tar.xz |
fix version patching
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index eca20de..3da3516 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ SUBDIRS = bin doc etc htdocs lib EXTRA_DIST = COPYRIGHT CHANGES CONTRIBUTORS LICENSE setup/build-perl-modules.sh setup/sdbs.inc dist-hook: - $(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".+?"/\$$VERSION = "$$d"/' $(distdir)/lib/Smokeping.pm + $(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".*?"/\$$VERSION = "$$v"/' $(distdir)/lib/Smokeping.pm # echo Version $(PACKAGE_VERSION) >DIST_REVISION # svn info >>DIST_REVISION |