Add support for handling obsolete X11 files and directories.
This commit is contained in:
parent
3acd9704cb
commit
fb571c8922
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.534 2005/03/21 14:43:43 tron Exp $
|
||||
# $NetBSD: mi,v 1.535 2005/03/21 23:09:39 tron Exp $
|
||||
. base-sys-root
|
||||
./altroot base-sys-root
|
||||
./bin base-sys-root
|
||||
@ -3472,6 +3472,10 @@
|
||||
./var/db/obsolete/man base-sys-root
|
||||
./var/db/obsolete/misc base-sys-root
|
||||
./var/db/obsolete/text base-sys-root
|
||||
./var/db/obsolete/xbase base-x11-root
|
||||
./var/db/obsolete/xcomp base-x11-root
|
||||
./var/db/obsolete/xfont base-x11-root
|
||||
./var/db/obsolete/xserver base-x11-root
|
||||
./var/db/xdm base-sys-root
|
||||
./var/empty base-obsolete obsolete
|
||||
./var/games base-games-root
|
||||
|
10
etc/Makefile
10
etc/Makefile
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.306 2005/03/08 07:39:30 martin Exp $
|
||||
# $NetBSD: Makefile,v 1.307 2005/03/21 23:09:39 tron Exp $
|
||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||
|
||||
# Environment variables without default values:
|
||||
@ -338,11 +338,19 @@ install-etc-files: .PHONY check_DESTDIR MAKEDEV
|
||||
#
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user