diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-26 05:42:48 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-26 05:42:48 -0500 |
commit | 9bcfa9cdede27be34d11f42dfae3d8fd60fc92bc (patch) | |
tree | 77f11fd6fb26c9ac4d8a410983629927c70d5319 /Makefile.am | |
parent | ed9a088b37dcb8ba56d397592f4e8230a6a011e5 (diff) | |
download | monitoring-plugins-9bcfa9cdede27be34d11f42dfae3d8fd60fc92bc.tar.gz |
Disable dynamic versionning for releases, and allow generating version out of subversion.
This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.
At the same time I added code for generating svn-based version strings.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 3cd939ac..70325781 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -19,7 +19,7 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" | |||
19 | 19 | ||
20 | dist-hook: | 20 | dist-hook: |
21 | make THANKS nagios-plugins.spec pkg/fedora/nagios-plugins.spec | 21 | make THANKS nagios-plugins.spec pkg/fedora/nagios-plugins.spec |
22 | echo ${VERSION} >$(distdir)/version | 22 | echo ${VERSION} >$(distdir)/release |
23 | 23 | ||
24 | install-root: | 24 | install-root: |
25 | cd plugins-root && $(MAKE) $@ | 25 | cd plugins-root && $(MAKE) $@ |