components/puppet/Makefile
changeset 1409 9db4ba32e740
parent 1377 abacfa47fabf
child 1434 c782e620dd26
--- a/components/puppet/Makefile	Sat Jul 27 07:19:32 2013 -0700
+++ b/components/puppet/Makefile	Mon Jul 29 16:02:38 2013 -0600
@@ -47,10 +47,15 @@
 
 # common targets
 build:		$(BUILD_32)
+	# Ruby extension for auditing
+	(cd ext; $(RUBY) extconf.rb; $(GMAKE))
 
 # make sure facter is installed first
 install:	../facter/build/$(MACH32)/.installed $(INSTALL_32)
 
+clean::
+	(cd ext; $(GMAKE) clean; $(RM) Makefile)
+
 # puppet requires the installation of the following rubygems to run
 # the unittests:  rspec rspec-expectations mocha rake rack hiera rgen
 # Disable the tests until these rubygems are available.