Imported Upstream version 1.4.16_pre1
This commit is contained in:
parent
047baae1ca
commit
212b4b8677
69 changed files with 10803 additions and 2698 deletions
11
Makefile.am
11
Makefile.am
|
@ -16,7 +16,7 @@ localedir = $(datadir)/locale
|
|||
DEFS = -DLOCALEDIR=\"$(localedir)\"
|
||||
|
||||
dist-hook:
|
||||
make THANKS nagios-plugins.spec pkg/fedora/nagios-plugins.spec
|
||||
$(MAKE) THANKS
|
||||
echo ${VERSION} >$(distdir)/release
|
||||
|
||||
install-root:
|
||||
|
@ -28,13 +28,6 @@ test test-debug:
|
|||
cd plugins && $(MAKE) $@
|
||||
cd plugins-scripts && $(MAKE) $@
|
||||
|
||||
nagios-plugins.spec: nagios-plugins.spec.in
|
||||
sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;s/^%%{requires}$$//" $? > $@
|
||||
|
||||
pkg/fedora/nagios-plugins.spec: nagios-plugins.spec.in
|
||||
$(top_srcdir)/mkinstalldirs pkg/fedora
|
||||
sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;/^# Requires$$/r $(top_srcdir)/pkg/fedora/requires" $? > $@
|
||||
|
||||
# Solaris pkgmk
|
||||
BUILDDIR = build-solaris
|
||||
PACKDIR = build-pkg
|
||||
|
@ -45,7 +38,9 @@ solpkg:
|
|||
if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi
|
||||
$(MAKE) all
|
||||
$(MAKE) DESTDIR=$$PWD/$(BUILDDIR) install
|
||||
$(INSTALL) plugins-root/pst3 $(BUILDDIR)$(libexecdir)
|
||||
$(INSTALL) pkg/solaris/pkginfo $(BUILDDIR)
|
||||
$(INSTALL) pkg/solaris/preinstall $(BUILDDIR)
|
||||
cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR)
|
||||
|
||||
THANKS: THANKS.in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue