head	1.8;
access;
symbols
	RELENG_3_5_0_RELEASE:1.5.2.2
	RELENG_3_4_0_RELEASE:1.5.2.2
	RELENG_3_3_0_RELEASE:1.5.2.2
	RELENG_3_2_PAO:1.5.2.1.0.2
	RELENG_3_2_PAO_BP:1.5.2.1
	RELENG_3_2_0_RELEASE:1.5.2.1
	RELENG_3_1_0_RELEASE:1.5
	RELENG_3:1.5.0.2
	RELENG_3_BP:1.5
	RELENG_3_0_0_RELEASE:1.4
	v0_4:1.1.1.1
	PICOBSD:1.1.1;
locks; strict;
comment	@# @;


1.8
date	99.08.22.21.43.09;	author dwhite;	state dead;
branches;
next	1.7;

1.7
date	99.06.14.15.41.33;	author roger;	state Exp;
branches;
next	1.6;

1.6
date	99.05.05.08.37.27;	author abial;	state Exp;
branches;
next	1.5;

1.5
date	98.10.28.16.26.29;	author abial;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	98.09.22.15.41.05;	author abial;	state Exp;
branches;
next	1.3;

1.3
date	98.09.20.00.46.24;	author abial;	state Exp;
branches;
next	1.2;

1.2
date	98.08.31.13.39.01;	author abial;	state Exp;
branches;
next	1.1;

1.1
date	98.08.27.17.38.42;	author abial;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.08.27.17.38.42;	author abial;	state Exp;
branches;
next	;

1.5.2.1
date	99.05.09.22.03.54;	author abial;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	99.08.22.23.08.02;	author dwhite;	state dead;
branches;
next	;


desc
@@


1.8
log
@Major PicoBSD update by luigi with some debugging help from myself.

. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
@
text
@#
# $Id: Makefile,v 1.7 1999/06/14 15:41:33 roger Exp $
#

DESTDIR?=/mnt

STAND_LINKS= bin sbin
USR_LINKS= bin sbin libexec
PL_LOCALE_LINKS= pl polish
US_LOCALE_LINKS= en english

.if ${LANGUAGE} == pl
LOCALE= pl_PL.ISO_8859-2
LOCALE_LINKS=${PL_LOCALE_LINKS}
FONT=iso02-8x16.fnt
KBD=pl_PL.ISO_8859-2.kbd
.else
LOCALE= en_US.ISO_8859-1
LOCALE_LINKS=${US_LOCALE_LINKS}
.endif

all: tree links

tree:
	mtree -deU -f mfs.mtree -p ${DESTDIR}

links: tree
	(cd ${DESTDIR}; \
		for i in ${STAND_LINKS}; \
		do \
			ln -s /stand $${i}; \
		done; \
		cd var/run; \
		ln -s /dev/null log; \
		cd ../../usr; \
		for i in ${USR_LINKS}; \
		do \
			ln -s /stand $${i}; \
		done; \
		cd share/misc;\
		ln -s /etc/termcap termcap; \
		echo emacs >/mnt/usr/share/misc/init.ee; \
		cd ../; \
		cd locale; \
		for i in ${LOCALE_LINKS}; \
		do \
			ln -s ${LOCALE} $${i}; \
		done; \
		cp /usr/share/locale/${LOCALE}/* ${LOCALE}/; \
		if [ "X${FONT}" != "X" ]; \
		then \
			cp /usr/share/syscons/fonts/${FONT} ../syscons/; \
			cp /usr/share/syscons/keymaps/${KBD} ../syscons/; \
		fi; \
		cd ../nls; \
		for i in ${LOCALE_LINKS}; \
		do \
			ln -s ${LOCALE} $${i}; \
		done;)


# We don't do it under 'all' because it's needed only on non-DEVFS systems
devnodes: tree
	(cd ${DESTDIR}/dev; \
	ln -s /dev/MAKEDEV; \
	./MAKEDEV std sysmouse tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 pty0; \
	./MAKEDEV psm0; \
	./MAKEDEV wd0s1h wd0s2 wd0s3 wd0s4 wd1s1h wd1s2 wd1s3 wd1s4 ;\
	rm MAKEDEV)

clean:
@


1.7
log
@Update to PicoBSD 0.44 from RELENG_3
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5.2.1 1999/05/09 22:03:54 abial Exp $
@


1.6
log
@Deal with MAKEDEV's braindedness.

Submitted by:	Patrick Powell <papowell@@astart4.astart.com>
Reviewed by:	abial
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1998/10/28 16:26:29 abial Exp $
d68 1
a68 1
	./MAKEDEV wd0s1h wd0s2 wd0s3 wd0s4 wd1s1h wd1s2 wd1s3 wd1s4; \
@


1.5
log
@Add missing psm0 dev entry.

Submitted by:	Eric P. Scott <eps@@sirius.com>
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1998/09/22 15:41:05 abial Exp $
d65 5
a69 3
	/dev/MAKEDEV std sysmouse tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 pty0; \
	/dev/MAKEDEV psm0; \
	/dev/MAKEDEV wd0s1h wd0s2 wd0s3 wd0s4 wd1s1h wd1s2 wd1s3 wd1s4)
@


1.5.2.1
log
@MFC: deal with recursive MAKEDEV calls.

Submitted by:	Patrick Powell <papowell@@astart4.astart.com>
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1998/10/28 16:26:29 abial Exp $
d65 3
a67 5
	ln -s /dev/MAKEDEV; \
	./MAKEDEV std sysmouse tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 pty0; \
	./MAKEDEV psm0; \
	./MAKEDEV wd0s1h wd0s2 wd0s3 wd0s4 wd1s1h wd1s2 wd1s3 wd1s4 ;\
	rm MAKEDEV)
@


1.5.2.2
log
@MFC: PicoBSD mega-upgrade.  It actually works in -STABLE, let's hope I
didn't miss anything.  According to luigi, I have jkh's OK on this.

Submitted by:  luigi
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5.2.1 1999/05/09 22:03:54 abial Exp $
@


1.4
log
@Add some more disk device nodes.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1998/09/20 00:46:24 abial Exp $
d66 1
@


1.3
log
@Hmm... Let's make the switch to non-DEVFS actually work. :-/
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1998/08/31 13:39:01 abial Exp $
d65 2
a66 1
	/dev/MAKEDEV std tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 wd0s1h pty0)
@


1.2
log
@init.ee was being copied to wrong place.

Submitted by:	Eric P. Scott <eps@@sirius.com>
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $
d64 2
a65 4
	(cp MAKEDEV ${DESTDIR}/dev/; \
		cd ${DESTDIR}/dev; \
		./MAKEDEV std tun2 vty10 fd0 wd0 wd0s1h pty0; \
		rm MAKEDEV;)
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1998/08/10 19:08:02 abial Exp $
d42 1
a42 1
		echo emacs >/usr/share/misc/init.ee; \
@


1.1.1.1
log
@Initial import of PicoBSD v0.4 tree.
@
text
@@
