7 |
|
|
8 |
|
### Code Building |
9 |
|
|
10 |
< |
genidl : |
10 |
> |
genidl : $(IDLCHECK) |
11 |
> |
$(IDLCHECK) : |
12 |
|
cd idl && $(MAKE) idl |
13 |
|
|
14 |
|
buildidl : genidl |
20 |
|
|
21 |
|
### Source, Doc, & Changelog |
22 |
|
|
23 |
< |
src : |
23 |
> |
src : $(SRCCHECK) |
24 |
> |
$(SRCCHECK) : |
25 |
|
if test ! -d "$(SRCDIR)"; then mkdir -p $(SRCDIR); fi |
26 |
|
echo "CVS" > TAR_EXCLUDE_TMP |
27 |
|
echo ".#*" >> TAR_EXCLUDE_TMP |
28 |
|
tar -cf - -X TAR_EXCLUDE_TMP $(SRCFILES) | ( cd $(SRCDIR) && tar -xf - ) |
29 |
|
rm -f TAR_EXCLUDE_TMP |
30 |
+ |
@touch $(SRCCHECK) |
31 |
|
|
32 |
< |
javadoc : genidl |
32 |
> |
javadoc : $(JAVADOCCHECK) |
33 |
> |
$(JAVADOCCHECK) : $(IDLCHECK) |
34 |
|
if test ! -d "$(DOCDIR)"; then mkdir -p $(DOCDIR); fi |
35 |
|
if test ! -d "$(DOCTMPDIR)"; then mkdir -p $(DOCTMPDIR); fi |
36 |
|
cp -R $(SOURCEROOT)/uk $(DOCTMPDIR) |
37 |
|
cp -R $(SOURCEROOT)/idl/uk $(DOCTMPDIR) |
38 |
< |
$(JAVADOCBIN) -d $(DOCDIR) -sourcepath $(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -link $(JDJAPI) -link $(JDPBAPI) $(PKGLIST) |
38 |
> |
$(JAVADOCBIN) -d $(DOCDIR) -sourcepath $(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -linkoffline $(JDJAPI) $(JDJAPIC) -linkoffline $(JDPBAPI) $(JDPBAPIC) $(PKGLIST) |
39 |
|
rm -Rf $(DOCTMPDIR) |
40 |
+ |
@touch $(JAVADOCCHECK) |
41 |
|
|
42 |
< |
changelog : |
42 |
> |
changelog : $(CHANGELOG) |
43 |
> |
$(CHANGELOG) : |
44 |
|
$(CVS2CL) $(CVS2CLFLAGS) > $(CHANGELOG) |
45 |
|
|
46 |
|
### Dist Making |
69 |
|
cd idl && $(MAKE) clean |
70 |
|
cd $(BUILD) && $(MAKE) clean ver=$(VERSION) |
71 |
|
cd uk/org/iscream/cms/server && $(MAKE) clean |
72 |
< |
rm -Rf $(BUILDCHECK) $(IDLCHECK) |
73 |
< |
rm -Rf $(CVSBUILDTEMP) |
68 |
< |
rm -Rf $(DOCDIR) $(DOCTMPDIR) |
69 |
< |
rm -Rf $(SRCDIR) |
72 |
> |
rm -f $(BUILDCHECK) $(IDLCHECK) $(JAVADOCCHECK) $(SRCCHECK) |
73 |
> |
rm -Rf $(CVSBUILDTEMP) $(DOCTMPDIR) |
74 |
|
|
75 |
|
distclean : clean |
76 |
|
cd $(BUILD) && rm -f $(CLPATH) |
77 |
+ |
rm -Rf $(APICACHE) |
78 |
|
rm -f Config.inc |
79 |
|
|
80 |
|
### Util Package |