aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 700a7fcec3499763adb04ef02bca4b2222b20e7a (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
# Be sure to set this before compiling ...
      VER = 1.2.2
     DIST = lib/ivy-java-$(VER).jar 
     DOCS = doc/html/api

all: class

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; )