svn commit: r266976 - head/usr.bin/calendar

Ed Maste emaste at FreeBSD.org
Mon Jun 2 18:30:58 UTC 2014


Author: emaste
Date: Mon Jun  2 18:30:57 2014
New Revision: 266976
URL: http://svnweb.freebsd.org/changeset/base/266976

Log:
  Remove extraneous "mkdir -p"
  
  The directory hierarchy is created by an mtree file (BSD.usr.dist,
  in the case of calendar(1)).  An explicit "mkdir -p" in a program's
  Makefile is redundant, and can mask a missing mtree entry.

Modified:
  head/usr.bin/calendar/Makefile

Modified: head/usr.bin/calendar/Makefile
==============================================================================
--- head/usr.bin/calendar/Makefile	Mon Jun  2 18:02:10 2014	(r266975)
+++ head/usr.bin/calendar/Makefile	Mon Jun  2 18:30:57 2014	(r266976)
@@ -19,7 +19,6 @@ beforeinstall:
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
 	    ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
 .for lang in ${INTER}
-	mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang}
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
 		${.CURDIR}/calendars/${lang}/calendar.* \
 		${DESTDIR}${SHAREDIR}/calendar/${lang} 


More information about the svn-src-all mailing list