23 |
|
if test ! -d "$(SRCDIR)"; then mkdir -p $(SRCDIR); fi |
24 |
|
echo "CVS" > TAR_EXCLUDE_TMP |
25 |
|
echo ".#*" >> TAR_EXCLUDE_TMP |
26 |
+ |
echo "*.jar" >> TAR_EXCLUDE_TMP |
27 |
+ |
echo ".done*" >> TAR_EXCLUDE_TMP |
28 |
|
tar -cf - -X TAR_EXCLUDE_TMP $(SRCFILES) | ( cd $(SRCDIR) && tar -xf - ) |
29 |
|
rm -f TAR_EXCLUDE_TMP |
30 |
|
@touch $(SRCCHECK) |
38 |
|
if test ! -d "$(DOCTMPDIR)"; then mkdir -p $(DOCTMPDIR); fi |
39 |
|
cp -R $(SOURCEROOT)/uk $(DOCTMPDIR) |
40 |
|
cp -R $(SOURCEROOT)/idl/uk $(DOCTMPDIR) |
41 |
< |
$(JAVADOCBIN) -d $(DOCDIR) -sourcepath $(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -linkoffline $(JDJAPI) $(JDJAPIC) -linkoffline $(JDPBAPI) $(JDPBAPIC) $(PKGLIST) |
41 |
> |
$(JAVADOCBIN) -d $(DOCDIR) -sourcepath $(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -linkoffline $(JDJAPI) $(JDJAPIC) -linkoffline $(JDPBAPI) $(JDPBAPIC) -linkoffline $(JDUAPI) $(JDUAPIC) $(PKGLIST) |
42 |
|
rm -Rf $(DOCTMPDIR) |
43 |
|
@touch $(JAVADOCCHECK) |
44 |
|
|
56 |
|
### Dist Making |
57 |
|
|
58 |
|
.PHONY : dist |
57 |
– |
#dist : $(MCOMPILECHECK) $(SRCCHECK) $(JAVADOCCHECK) $(CHANGELOG) |
59 |
|
dist : |
60 |
|
cd $(BUILD) && $(MAKE) dist dest=$(DISTDEST) |
61 |
|
|
62 |
|
.PHONY : dist-bin |
62 |
– |
#dist-bin : $(MCOMPILECHECK) $(CHANGELOG) |
63 |
|
dist-bin : |
64 |
|
cd $(BUILD) && $(MAKE) dist-bin dest=$(DISTDEST) |
65 |
|
|
79 |
|
rm -Rf $(APICACHE) |
80 |
|
rm -f Config.inc |
81 |
|
|
82 |
– |
### Util Package |
83 |
– |
|
84 |
– |
.PHONY : buildutil |
85 |
– |
buildutil : clean |
86 |
– |
cd uk/org/iscream/cms/server/util && $(MAKE) all |
87 |
– |
cd $(BUILD) && $(MAKE) packageutil |
88 |
– |
|
82 |
|
### Database |
83 |
|
|
84 |
|
.PHONY : createtable |
92 |
|
### Install |
93 |
|
|
94 |
|
.PHONY : install |
95 |
< |
install : $(MCOMPILECHECK) |
95 |
> |
install : $(MCOMPILECHECK) $(JAVADOCCHECK) $(CHANGELOG) |
96 |
|
@echo "-------------------------------------------------------" |
97 |
< |
@echo "Installing to $(INSTALL)" |
98 |
< |
@echo " copying $(PACKAGE) to $(INSTALL)" |
99 |
< |
mkdir -p $(INSTALL) |
100 |
< |
cp $(BUILD)/$(PACKAGE) $(INSTALL) |
101 |
< |
@echo " copying libs to $(INSTALL)/lib" |
102 |
< |
mkdir -p $(INSTALL)/lib |
103 |
< |
cp $(LIBDIR)/*.jar $(INSTALL)/lib |
104 |
< |
@echo " copying etc to $(INSTALL)/etc" |
105 |
< |
mkdir -p $(INSTALL)/etc |
106 |
< |
cp $(BUILD)/etc/default.properties $(INSTALL)/etc |
107 |
< |
cp $(BUILD)/etc/*.conf $(INSTALL)/etc |
108 |
< |
@echo " copying scripts to $(INSTALL)" |
109 |
< |
cp $(BUILD)/run.sh $(INSTALL) |
110 |
< |
cp $(BUILD)/run.bat $(INSTALL) |
111 |
< |
@echo "Completed install to $(INSTALL)" |
97 |
> |
@echo "Installing to $(INSTALLPREFIX)" |
98 |
> |
@echo " copying $(PACKAGE) to $(INSTALLPREFIX)" |
99 |
> |
@mkdir -p $(INSTALLPREFIX) |
100 |
> |
@cp $(BUILD)/$(PACKAGE) $(INSTALLPREFIX) |
101 |
> |
@echo " copying libs to $(INSTALLPREFIX)/lib" |
102 |
> |
@mkdir -p $(INSTALLPREFIX)/lib |
103 |
> |
@cp $(LIBDIR)/*.jar $(INSTALLPREFIX)/lib |
104 |
> |
@echo " copying etc to $(INSTALLPREFIX)/etc" |
105 |
> |
@mkdir -p $(INSTALLPREFIX)/etc |
106 |
> |
@cp $(BUILD)/etc/default.properties $(INSTALLPREFIX)/etc |
107 |
> |
@cp $(BUILD)/etc/*.conf $(INSTALLPREFIX)/etc |
108 |
> |
@echo " copying scripts to $(INSTALLPREFIX)" |
109 |
> |
@cp $(BUILD)/run.sh $(INSTALLPREFIX) |
110 |
> |
@cp $(BUILD)/run.bat $(INSTALLPREFIX) |
111 |
> |
@echo " copying documention to $(INSTALLPREFIX)/doc" |
112 |
> |
@cp -R $(BUILD)/doc $(INSTALLPREFIX) |
113 |
> |
@echo " copying text information files to $(INSTALLPREFIX" |
114 |
> |
@cp $(BUILD)/COPYING $(CHANGELOG) $(INSTALLPREFIX) |
115 |
> |
@echo "Completed install to $(INSTALLPREFIX)" |
116 |
|
@echo "-------------------------------------------------------" |
117 |
|
|
118 |
|
### Other |