diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-09-16 00:47:17 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-09-16 00:47:17 +0000 |
commit | b86eec17eb3debea43afa15779930f984126f83b (patch) | |
tree | 5325e1d155ee309a1e05e5fa6791fb5b48e48ca2 /Makefile.am | |
parent | 1f6bb0cb8544b669d9913875618998b493a8fbc9 (diff) | |
download | monitoring-plugins-b86eec17eb3debea43afa15779930f984126f83b.tar.gz |
finish ckleanup of rpm spec porcessing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@100 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index d1c7a683..00e59622 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,10 @@ SUBDIRS = plugins plugins-scripts -EXTRA_DIST = REQUIREMENTS acconfig.h package.def subst.in subst.sh Helper.pm nagios-plugins.spec contrib +EXTRA_DIST = REQUIREMENTS acconfig.h subst.in subst.sh Helper.pm contrib nagios-plugins.spec.in + +dist-hook: + sed "s/PACKAGE_VERSION/@PACKAGE_VERSION@/;s/PACKAGE_RELEASE/@PACKAGE_RELEASE@/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec test: cd plugins; $(MAKE) test |