aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 36290b363443a3893941361bfae418fe7e7e44d6 (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
#  JAVAJAR = /usr/lib/j2re1.3/lib/rt.jar
#CLASSPATH = -classpath $(JAVAJAR)
JAVACOPTS = -d . -deprecation $(CLASSPATH)
     SRCS = src/*java
      JAR = Ivy.jar 
      VER = 1.0.5
     DIST = ivy-java-$(VER).jar 
    JAVAC = jikes
#    JAVAC = javac
     DOCS = doc/html/api

all:
	$(JAVAC) $(JAVACOPTS) $(SRCS)
	
clean:
	/bin/rm -f -- *class *~ *.bak $(JAR)
	ctags $(SRCS)

jar:
	fastjar cvfm $(JAR) manifest fr 
	
dist:
	fastjar cvfm $(DIST) manifest fr src debian redhat doc Makefile manifest TODO

docs:
	rm -fR $(DOCS)
	mkdir $(DOCS)
	javadoc -d $(DOCS) $(SRCS)