cd lib && $(MAKE) install
cmds:
- @echo "Are the libraries up to date?"; sleep 2
- test ! -f commands/Makefile || { cd commands && $(MAKE); }
+ cd commands && $(MAKE) all
install::
- test ! -f commands/Makefile || { cd commands && $(MAKE) $@; }
+ cd commands && $(MAKE) $@
clean::
cd lib && $(MAKE) $@
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
-cd /usr || exit 1
cd /usr/src || exit 1
make world install || exit 1
cd tools || exit 1
+rm revision
make hdboot || exit 1
cp ../boot/boot /boot/boot || exit 1
-cd /usr || exit 1
cd /usr/src || exit 1
make clean
exit 0
IMAGE=cdfdimage
ROOTIMAGE=rootimage
ISO=minix.iso
+ISOGZ=minix.iso.gz
RAM=/dev/ram
rootmb=16
rootkb=`expr $rootmb \* 1024`
mkdir -m 755 $RELEASEDIR/usr
mkdir -m 1777 $RELEASEDIR/tmp
-mkfs -B 1024 $TMPDISK || exit
+mkfs $TMPDISK || exit
echo " * mounting $TMPDISK as $RELEASEDIR/usr"
mount $TMPDISK $RELEASEDIR/usr || exit
mkdir -p $RELEASEDIR/tmp
make image || exit 1
sh mkboot cdfdboot
writeisofs -l MINIX -b $IMAGE /tmp $ISO || exit 1
-echo "Appending Minix root filesystem"
-cat >>$ISO $ROOTIMAGE || exit 1
-echo "Appending Minix usr filesystem"
-cat >>$ISO $TMPDISK || exit 1
-ls -al $ISO
+echo "Appending Minix root and usr filesystem"
+cat $ISO $ROOTIMAGE $TMPDISK | gzip >$ISOGZ || exit 1
+ls -al $ISOGZ