5 |
|
|
6 |
|
all : build |
7 |
|
|
8 |
< |
idl : |
8 |
> |
genidl : |
9 |
|
cd idl && $(MAKE) idl |
10 |
|
|
11 |
< |
buildidl : idl |
11 |
> |
buildidl : genidl |
12 |
|
cd idl && $(MAKE) build |
13 |
|
|
14 |
|
code : buildidl |
18 |
|
cd build && $(MAKE) package |
19 |
|
|
20 |
|
run : build |
21 |
< |
cd build && java -jar iscream.jar |
21 |
> |
cd build && ./run.sh |
22 |
|
|
23 |
|
clean : |
24 |
|
cd idl && $(MAKE) clean |
26 |
|
cd uk/ac/ukc/iscream && $(MAKE) clean |
27 |
|
rm -Rf $(BUILDCHECK) $(IDLCHECK) |
28 |
|
rm -Rf $(CVSBUILDTEMP) |
29 |
+ |
rm -Rf doc doctemp |
30 |
|
|
31 |
|
distclean : clean |
32 |
< |
rm -f $(CLPATH) |
32 |
> |
cd $(BUILD) && rm -f $(CLPATH) |
33 |
|
rm -f Config.inc |
34 |
|
|
35 |
|
install : build |
54 |
|
cd $(CVSBUILDTEMP) && $(MAKE) build |
55 |
|
cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT) |
56 |
|
cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT) |
57 |
+ |
|
58 |
+ |
javadoc : genidl |
59 |
+ |
if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi |
60 |
+ |
if test ! -d "$(DOCTMPDIR)"; then mkdir $(DOCTMPDIR); fi |
61 |
+ |
cp -R $(SERVERROOT)/uk $(SERVERROOT)/$(DOCTMPDIR) |
62 |
+ |
cp -R $(SERVERROOT)/idl/uk $(SERVERROOT)/$(DOCTMPDIR) |
63 |
+ |
javadoc -d $(SERVERROOT)/$(DOCDIR) -sourcepath $(SERVERROOT)/$(DOCTMPDIR) -author -version -private $(PKGLIST) |
64 |
+ |
rm -Rf doctemp |
65 |
|
|
66 |
|
include $(MKINC) |