diff options
author | jacomi | 1999-04-15 10:39:13 +0000 |
---|---|---|
committer | jacomi | 1999-04-15 10:39:13 +0000 |
commit | c74008acab088c707371ad4f547fdd041042cdff (patch) | |
tree | 3e55332a99bc8f663e3faba9213c7713ae2e5d9b | |
parent | 61fd14fd7d9f06491485d6a9e5c728ab457499ce (diff) | |
download | ivy-java-c74008acab088c707371ad4f547fdd041042cdff.zip ivy-java-c74008acab088c707371ad4f547fdd041042cdff.tar.gz ivy-java-c74008acab088c707371ad4f547fdd041042cdff.tar.bz2 ivy-java-c74008acab088c707371ad4f547fdd041042cdff.tar.xz |
first version for makefile
-rw-r--r-- | src/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..f656bce --- /dev/null +++ b/src/Makefile @@ -0,0 +1,38 @@ +# +# Ivy, Java interface +# +# Copyright (C) 1998-1999 +# Centre d'Études de la Navigation Aérienne +# +# Makefile +# +# Authors: Francois-Regis Colin <colin@cenatoulouse.dgac.fr> +# Yannick Jestin <jestin@cenatoulouse.dgac.fr> +# +# $Id$ +# +SHELL = /bin/sh +VERSION = 1.0 + +all: + +install: + test -d $(PREFIX)/tmp/fr/dgac/ivy || mkdirhier $(PREFIX)/tmp/fr/dgac/ivy + for f in `find *.class -type f -maxdepth 1`; do \ + cp $$f $(PREFIX)/tmp/fr/dgac/ivy; \ + done + cd $(PREFIX)/tmp && jar cvf ivy-java.jar fr/ + + test -d $(PREFIX)/usr/lib || mkdirhier $(PREFIX)/usr/lib + install -m 644 $(PREFIX)/tmp/ivy-java.jar $(PREFIX)/usr/lib + \rm -rf $(PREFIX)/tmp/ + test -d $(PREFIX)/usr/src/ivy-java/fr/dgac/ivy || mkdirhier $(PREFIX)/usr/src/ivy-java/fr/dgac/ivy + for f in `find *.java -type f -maxdepth 1`; do \ + install -m 644 $$f $(PREFIX)/usr/src/ivy-java/fr/dgac/ivy; \ + done + test -d $(PREFIX)/usr/man/man1 || mkdirhier $(PREFIX)/usr/man/man1 + for f in `find ../doc/*.1 -type f -maxdepth 1`; do \ + install -m 644 $$f $(PREFIX)/usr/man/man1; \ + done +rpm:: + /usr/bin/rpmize |