diff options
author | Eric Norum <WENorum@lbl.gov> | 2004-09-28 18:06:29 +0000 |
---|---|---|
committer | Eric Norum <WENorum@lbl.gov> | 2004-09-28 18:06:29 +0000 |
commit | 2387397d71f5ebf853952c063737c9605da4244c (patch) | |
tree | 8de2215526542d5771a8764089b48d666d77b305 | |
parent | 4dc6c6c0de56cd02fc2ab45157488d3da9effeca (diff) |
Add support for packages which provide an acceptable makefile 'out of the box'.
Add Till Straumann's NFS package.
-rwxr-xr-x | bit | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -9,7 +9,7 @@ # set -ex -PACKAGES="avl-1.4.0 ncurses-5.3 readline-4.3 libtecla-1.4.1 zlib-1.1.4" +PACKAGES="rtemsNfs-1.1 avl-1.4.0 ncurses-5.3 readline-4.3 libtecla-1.4.1 zlib-1.1.4" for p in $PACKAGES do @@ -19,7 +19,13 @@ do then makefile="`echo $makefile | sed -e '/-.*/s///'`" fi - make -w -f "$makefile" + if [ -r "$makefile" ] + then + make -w -f "$makefile" + else + make -w + make -w install + fi cd .. done |