# for which it has to install /etc (for users and ownerships).
# etcfiles also creates a directory hierarchy in its
# 'make install' target.
-world: etcfiles includes depend libraries cmds bigcmds install biginstallcmds postinstall
+world: etcfiles includes depend libraries cmds bigcmds contrib install biginstallcmds postinstall
includes:
cd include && $(MAKE) install
cd commands && $(MAKE) bigall
contrib:
- cd contrib && $(MAKE) all
+ if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) all; fi
install::
cd commands && $(MAKE) $@
-# cd contrib && $(MAKE) $@
+ if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) install; fi
biginstallcmds::
cd commands && $(MAKE) biginstall
cd lib && $(MAKE) $@
cd contrib && $(MAKE) $@
test ! -f commands/Makefile || { cd commands && $(MAKE) $@; }
+ if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) clean; fi
etcfiles::
cd etc && $(MAKE) install
-all install clean:
- cd emacs-21.4 && $(MAKE) $@
- cd lynx2-8-5 && $(MAKE) $@
+EMACS=emacs-21.4
+LYNX=lynx2-8-5
+
+#-[ -f $(EMACS)/Makefile ] && cd $(EMACS) && $(MAKE) $@
+
+all install::
+ cd $(LYNX) && sh MINIX/lynx.sh && bigmake $@
+
+all install clean::
+ if [ -f $(LYNX)/Makefile ] ; then cd $(LYNX) && bigmake $@; fi
ISOGZ=minix.iso.gz
RAM=/dev/ram
BS=4096
-USRMB=150
+USRMB=350
USRBLOCKS="`expr $USRMB \* 1024 \* 1024 / $BS`"
ROOTMB=2
ROOTBLOCKS="`expr $ROOTMB \* 1024 \* 1024 / $BS`"
exit 1
;;
h)
+ echo " * Making HD image"
HDEMU=1
;;
c)
+ echo " * Copying, not CVS"
COPY=1
;;
a)
+ echo " * Including contrib"
ALL=1
;;
esac
( cd $srcdir && tar cf - . ) | ( cd $RELEASEDIR/usr && mkdir src && cd src && tar xf - )
+if [ "$ALL" = 0 ]
+then echo " * Removing temporary cvs source tree"
+ rm -rf src
+fi
+
+echo " * Fixups for owners and modes of dirs and files"
chown -R bin $RELEASEDIR/usr/src
find $RELEASEDIR/usr/src -type d | xargs chmod 755
find $RELEASEDIR/usr/src -type f | xargs chmod 644