# HG changeset patch # User Virginia Wray # Date 1376583729 25200 # Node ID bb7ccf69cdaddd9210bb18dcefc212786d985349 # Parent 7d0fcc0c91832cadf4bdeb9cd0891b590c26c21e 17307412 clobber/clean can fail in puppet/ext diff -r 7d0fcc0c9183 -r bb7ccf69cdad components/puppet/Makefile --- a/components/puppet/Makefile Wed Aug 14 23:47:59 2013 -0600 +++ b/components/puppet/Makefile Thu Aug 15 09:22:09 2013 -0700 @@ -56,7 +56,9 @@ install: ../facter/build/$(MACH32)/.installed $(INSTALL_32) clean:: - (cd ext; $(GMAKE) clean; $(RM) Makefile) + @if [ -f ext/Makefile ]; then \ + (cd ext; $(GMAKE) clean; $(RM) Makefile) \ + fi # puppet requires the installation of the following rubygems to run # the unittests: rspec rspec-expectations mocha rake rack hiera rgen