From b743d5b2fe44affe183ef4440f9dd1cb830d3436 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 16 Sep 2005 15:28:29 +0000 Subject: [PATCH] Fixes for move to commands/ of contrib/ --- commands/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/commands/Makefile b/commands/Makefile index a98bbaef2..8ac789cd3 100755 --- a/commands/Makefile +++ b/commands/Makefile @@ -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) $@ +