Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/etc Pull up revision 1.307 (requested by jmc in ticket #1...



details:   https://anonhg.NetBSD.org/src/rev/1704310fb68f
branches:  netbsd-3
changeset: 575205:1704310fb68f
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Apr 06 21:15:11 2005 +0000

description:
Pull up revision 1.307 (requested by jmc in ticket #114):
Add support for handling obsolete X11 files and directories.

diffstat:

 etc/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r e62e5bf9ed76 -r 1704310fb68f etc/Makefile
--- a/etc/Makefile      Wed Apr 06 21:14:34 2005 +0000
+++ b/etc/Makefile      Wed Apr 06 21:15:11 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.306 2005/03/08 07:39:30 martin Exp $
+#      $NetBSD: Makefile,v 1.306.2.1 2005/04/06 21:15:11 tron Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -338,11 +338,19 @@
 #
 OBSOLETE.dir=          ${.OBJDIR}/obsolete.dir
 OBSOLETE.files=                base comp etc games man misc text
+.if ${MKX11} != "no"
+OBSOLETE.files+=       xbase xcomp xfont xserver
+.endif
 
 install-obsolete-lists: .PHONY
        mkdir -p ${OBSOLETE.dir}
+.if ${MKX11} != "no"
+       (cd ${NETBSDSRCDIR}/distrib/sets && \
+           MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir})
+.else
        (cd ${NETBSDSRCDIR}/distrib/sets && \
            MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir})
+.endif
 .for file in ${OBSOLETE.files}
        ${_MKMSG_INSTALL} ${DESTDIR}/var/db/obsolete/${file}
        ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \



Home | Main Index | Thread Index | Old Index