Fixes for move to commands/ of contrib/

This commit is contained in:
Ben Gras 2005-09-16 15:28:29 +00:00
parent 8bd9fc4d90
commit b743d5b2fe

View file

@ -6,6 +6,11 @@ GZIP=gzip-1.2.4
PYTHON=python-1.5.2
BZIP2=bzip2-1.0.3
KERMIT=kermit-2.1.1
NVI=nvi-1.79
NVIWORK=$(NVI)/minix
EMACS=emacs-21.4
LYNX=lynx2-8-5
COREUTILS=gnu-coreutils-5.2.1
usage:
@echo "Usage: make all # Compile all commands" >&2
@ -16,19 +21,27 @@ usage:
@false
all install::
-mkdir $(NVIWORK)
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@
cd $(NVI) && make $@
bigall:
cd $(FLEX) && /bin/sh makeme.sh
cd $(PYTHON) && /bin/sh makeme.sh
cd $(BZIP2) && /bin/sh makeme.sh
cd $(KERMIT) && /bin/sh makeme.sh
cd $(LYNX) && /bin/sh makeme.sh
cd $(EMACS) && /bin/sh makeme.sh
cd $(COREUTILS) && /bin/sh makeme.sh
biginstall: bigall
cd $(FLEX) && make install
cd $(PYTHON) && make install
cd $(BZIP2) && make install
cd $(KERMIT) && make install
cd $(LYNX) && make install
cd $(EMACS) && make install
cd $(COREUTILS) && make install
clean::
if [ -f $(FLEX)/Makefile ] ; then cd $(FLEX) && make $@; fi
@ -36,6 +49,10 @@ clean::
if [ -f $(PYTHON)/Makefile ] ; then cd $(PYTHON) && make $@; fi
cd $(BZIP2) && make clean
cd $(KERMIT) && make clean
if [ -f $(NVIWORK)/Makefile ]; then cd $(NVIWORK) && make clean; fi
if [ -f $(LYNX)/Makefile ] ; then cd $(LYNX) && make clean; fi
if [ -f $(EMACS)/Makefile ] ; then cd $(EMACS) && make clean; fi
cd $(COREUTILS) && make clean
all install clean::
cd `arch` && $(MAKE) $@
@ -77,3 +94,4 @@ all install clean::
cd urlget && $(MAKE) $@
cd yap && $(MAKE) $@
cd zmodem && $(MAKE) $@