changeset 13377:d89753efabc8

1045 not clobbering perl build dir Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
author Mike Harsch <mike@harschsystems.com>
date Thu, 19 May 2011 08:22:21 -0600
parents c3f168efd1e4
children d6c0163a1c2e
files usr/src/cmd/perl/Makefile
diffstat 1 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/perl/Makefile	Thu May 19 13:45:25 2011 -0400
+++ b/usr/src/cmd/perl/Makefile	Thu May 19 08:22:21 2011 -0600
@@ -36,18 +36,12 @@
 
 .PARALLEL: $(PERL_VERSIONS)
 
-#
-# copy_contrib is used by all the versions of perl to copy the files under
-# contrib into their contrib build directory.  We therefore need to make sure
-# it is fetched from SCCS before calling the version-specific makefiles so that
-# they don't race over it.
-#
-all install test: contrib/copy_contrib $(PERL_VERSIONS)
+all install test: $(PERL_VERSIONS)
 
-clean: $(PERL_VERSIONS)
+clean: FRC
 
-clobber: $(PERL_VERSIONS)
-	$(RM) -r contrib/copy_contrib $(WOS_PERL)
+clobber: clean
+	$(RM) -r $(PERL_VERSIONS)
 
 #
 # Perl is not lint-clean.  Fake up a target.