[Nagiosplug-checkins] CVS: nagiosplug Makefile.am,1.3,1.4
Karl DeBisschop
kdebisschop at users.sourceforge.net
Fri Oct 25 10:36:11 CEST 2002
Update of /cvsroot/nagiosplug/nagiosplug
In directory usw-pr-cvs1:/tmp/cvs-serv24932
Modified Files:
Makefile.am
Log Message:
include getloadavg sources, add some Solaris pkg build support
Index: Makefile.am
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Makefile.am 16 Oct 2002 04:43:50 -0000 1.3
--- Makefile.am 25 Oct 2002 02:31:02 -0000 1.4
***************
*** 4,8 ****
EXTRA_DIST = REQUIREMENTS acconfig.h subst.in subst.sh Helper.pm \
! contrib nagios-plugins.spec.in
dist-hook:
--- 4,8 ----
EXTRA_DIST = REQUIREMENTS acconfig.h subst.in subst.sh Helper.pm \
! contrib nagios-plugins.spec.in getloadavg.m4
dist-hook:
***************
*** 12,13 ****
--- 12,43 ----
cd plugins; $(MAKE) test
cd plugins-scripts; $(MAKE) test
+
+ # Solaris pkgmk
+ PACKDIR=build-pkg
+ VERSION=@PACKAGE_VERSION@
+
+ Prototype:
+ if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi
+ cd build-solaris
+ $(MAKE) all
+ $(MAKE) DESTDIR=../$(PACKDIR) install
+ cd ..
+ echo i pkginfo> Prototype
+ if [ -f checkinstall ] ; then echo i checkinstall>> Prototype; fi
+ if [ -f preinstall ] ; then echo i preinstall>> Prototype; fi
+ if [ -f postinstall ] ; then echo i postinstall>> Prototype; fi
+ pkgproto $(PACKDIR)=/ | sed -e "s|$(LOGNAME) $(GROUP)$$|root root|" | egrep -v "(s|d) none (/|/etc|/var|/usr|/usr/local) " >> Prototype
+
+ pkgmap: ../Prototype
+ mkdir -p $(PACKDIR)/nagiosp
+ cd $(PACKDIR)/nagiosp
+ pkgmk -o -r / -f ../Prototype -d $(PACKDIR) nagiosp
+ cd ..
+
+ nagios.SPARC.pkg.tar.gz: pkgmap
+ cd $(PACKDIR) && tar -cf - nagiosp | gzip -9 -c > ../nagiosp.SPARC.pkg.tar.gz
+
+ pkgset: nagiosp.SPARC.pkg.tar.gz
+
+ pkgclean:
+ rm -rf Prototype nagiosp.SPARC.pkg.tar.gz
More information about the Commits
mailing list