aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8392d4378ce4419fbfa9085cc710690d59d2a06f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Be sure to set this before compiling ...
      VER = 1.2.3
     DIST = lib/ivy-java-$(VER).jar 
     DOCS = doc/html/api

all: class examples

examples:
	( cd examples; make; )

class:
	( cd src; make; )

docs:
	( cd src; make docs ; )

#dist: class docs 
dist: class 
	ln -sf src/fr .
	ln -sf /usr/share/java/repository/gnu .
	fastjar cvfm $(DIST) manifest fr/dgac/ivy/*.class gnu src/Makefile src/*.java examples/*java examples/Makefile doc/html/api/fr/dgac/ivy/*html doc/html/api/*html doc/html/api/*css README COPYING.LIB doc/ivy-java.pdf doc/ivy-java
	rm -f fr gnu

jar: class
	ln -sf src/fr .
	fastjar cvfm lib/ivy-java.jar manifest fr/dgac/ivy/*.class src/Makefile src/*.java README COPYING.LIB Changelog BUGS gnu
	rm -f fr
	
clean:
	( cd src; make clean ;)
	( cd tests; make clean ; )
	( cd examples; make clean; )