blob: 83278b68d65cc6302cd8126752c3ebd1466382e2 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
include java.mk
# Be sure to set this before compiling ...
VERSION = 1.2.13
DIST = ivy-$(VERSION).jar
DOCS = doc/html/api
#dist = woody/
dist =
all: class examples
examples:
( cd examples; make; )
class:
( cd src; make; )
grep -H TODO src/*java
docs:
( cd doc; make; )
( cd src; make docs ; )
tests:
( cd tests; ant )
#dist: class docs
dist: class
(cd src && $(JAR) cvfm ../$(DIST) ../manifest fr/dgac/ivy/*.class fr/dgac/ivy/tools/*.class )
jar: class
ln -sf src/fr .
ln -sf ${HOME}/dev/bundle/${dist}gnu .
ln -sf ${HOME}/dev/bundle/${dist}org .
$(JAR) cfm ivy-java.jar manifest fr/dgac/ivy/*.class fr/dgac/ivy/tools/*.class src/Makefile src/*.java README COPYING.LIB Changelog BUGS gnu org examples/*.java
/bin/rm -f gnu org
clean:
( cd src; make clean ;)
( cd tests; make clean ; )
( cd examples; make clean; )
rm -f -- $(DIST)
install:
install -m 0755 tools/jprobe $(DESTDIR)/usr/bin/
install -m 0755 tools/jafter $(DESTDIR)/usr/bin/
install -m 0755 tools/jdaemon $(DESTDIR)/usr/bin/
install -m 0644 doc/ivy-java.1 $(DESTDIR)/usr/man/man1/
gzip -9 $(DESTDIR)/usr/man/man1/ivy-java.1
install -m 0644 doc/jprobe.1 $(DESTDIR)/usr/man/man1/
gzip -9 $(DESTDIR)/usr/man/man1/jprobe.1
install -m 0644 $(DIST) $(DESTDIR)/usr/share/java/ivy.jar
#ln -sf $(DESTDIR)/usr/share/java/$(DIST) $(DESTDIR)/usr/share/java/ivy.jar
(cd src; $(MAKE) docs DOCS=$(DESTDIR)/usr/share/doc/libivy-java/html/api)
cp -R doc/ivy-java $(DESTDIR)/usr/share/doc/libivy-java/programmersguide
install -m 0644 doc/ivy-java.pdf $(DESTDIR)/usr/share/doc/libivy-java/
|