[Midnightbsd-cvs] src: BSDmakefile: cleanup clean.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Wed Mar 18 21:46:51 EDT 2009


Log Message:
-----------
cleanup clean.  fix man paths for site modules.

Modified Files:
--------------
    src/usr.bin/perl:
        BSDmakefile (r1.2 -> r1.3)

-------------- next part --------------
Index: BSDmakefile
===================================================================
RCS file: /home/cvs/src/usr.bin/perl/BSDmakefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L usr.bin/perl/BSDmakefile -L usr.bin/perl/BSDmakefile -u -r1.2 -r1.3
--- usr.bin/perl/BSDmakefile
+++ usr.bin/perl/BSDmakefile
@@ -16,6 +16,7 @@
 # so everthing is where Configure thinks it should be.  Hackish, but it works.
 #
 CONFIGURE_ARGS= -des -Dprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr \
+		-Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 \
                 -Dmksymlinks -Dsrc=${SRCDIR} 
                 
 CONFIGURE_SCRIPT=    Configure
@@ -32,7 +33,7 @@
 
 # if OBJDIR is ., then don't delete ourselves.            
 clean:
-	cd ${.OBJDIR} && ls -A | grep -v 'BSDmakefile' | xargs rm -r
+	cd ${.OBJDIR} && ls -A | grep -v 'BSDmakefile' | grep -v 'CVS' | xargs rm -r
 
 install: install.perl install.man
 


More information about the Midnightbsd-cvs mailing list