Subject: Re: bin/10985 (skel files)
To: None <tech-userlevel@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-userlevel
Date: 10/01/2000 18:46:12
Simon Burge wrote:
> So we're all pretty much agreed on putting the skel files in /etc/skel,
> and leaving out /usr/share altogether (ie, both /usr/share/skel and
> /usr/share/examples/usermgmt go the way of the bit-bucket)? And that
> the skel files are part of the "etc" set and don't get overwritten by a
> "make build" or "make install"?
I've got the trailing patch to do this. Look ok? For the final
version, I'll move the files in src/share/skel to etc/skel.
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Sales, Support and Service: http://www.wasabisystems.com/
Index: Makefile
===================================================================
RCS file: /cvsroot/sharesrc/share/skel/Makefile,v
retrieving revision 1.12
diff -d -p -u -r1.12 Makefile
--- Makefile 1999/02/13 02:54:36 1.12
+++ Makefile 2000/10/01 07:45:10
@@ -1,8 +1,15 @@
# $NetBSD: Makefile,v 1.12 1999/02/13 02:54:36 lukem Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/8/93
-FILES= dot.cshrc dot.login dot.mailrc dot.profile dot.rhosts
-FILESDIR= ${BINDIR}/skel
+.if make(distribution)
+FILES= dot.cshrc dot.login dot.mailrc dot.profile dot.rhosts
+FILESDIR= /etc/skel
+.for F in ${FILES}
+FILESNAME_${F}= ${F:S/dot//}
+.endfor
+
+distribution: filesinstall
+.endif
MKOBJ= no
.include <bsd.prog.mk>