]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 15:26:12 +0000 (15:26 +0000)
committerBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 15:26:12 +0000 (15:26 +0000)
Makefile
contrib/gnu/Makefile
tools/release.sh

index c7e38194287894324d68a39698ed4509bfd38a7c..cbb315210751d37c74f562c162ccff1626f1a0e6 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ usage:
 # 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
@@ -40,11 +40,11 @@ bigcmds:
        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
@@ -62,6 +62,7 @@ clean::
        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
index 468c93f62de9513bb8bcb2d1caa14cc650a9265e..32ccf9dfcc5a65bb4aa5866c019649ec88c17418 100755 (executable)
@@ -1,4 +1,11 @@
 
-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
index 2e96a4bc29e493c45f2c20dfeb001e49d40354b9..aaa0189b62a261b304c9cc461aa8bc723362187c 100755 (executable)
@@ -59,7 +59,7 @@ ISO=minix.iso
 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`"
@@ -76,12 +76,15 @@ do
                exit 1
        ;;
        h)
+               echo " * Making HD image"
                HDEMU=1
                ;;
        c)
+               echo " * Copying, not CVS"
                COPY=1
                ;;
        a)
+               echo " * Including contrib"
                ALL=1
                ;;
        esac
@@ -168,6 +171,12 @@ echo " * Transfering source to $RELEASEDIR"
 
 ( 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