11 |
|
.PHONY : build |
12 |
|
build : $(IDLCHECK) |
13 |
|
cd uk/org/iscream/cms/server && $(MAKE) all |
14 |
+ |
cp $(SOURCEROOT)/$(LICFILE) $(BUILD) |
15 |
|
cd $(BUILD) && $(MAKE) package |
16 |
|
|
17 |
|
### Source, Doc, & Changelog |
25 |
|
echo "CVS" > TAR_EXCLUDE_TMP |
26 |
|
echo ".#*" >> TAR_EXCLUDE_TMP |
27 |
|
echo "*.jar" >> TAR_EXCLUDE_TMP |
28 |
+ |
echo ".done*" >> TAR_EXCLUDE_TMP |
29 |
|
tar -cf - -X TAR_EXCLUDE_TMP $(SRCFILES) | ( cd $(SRCDIR) && tar -xf - ) |
30 |
|
rm -f TAR_EXCLUDE_TMP |
31 |
|
@touch $(SRCCHECK) |
39 |
|
if test ! -d "$(DOCTMPDIR)"; then mkdir -p $(DOCTMPDIR); fi |
40 |
|
cp -R $(SOURCEROOT)/uk $(DOCTMPDIR) |
41 |
|
cp -R $(SOURCEROOT)/idl/uk $(DOCTMPDIR) |
42 |
< |
$(JAVADOCBIN) -d $(DOCDIR) -sourcepath $(DOCTMPDIR) -classpath $(JCCLASSPATH) -windowtitle $(JDTITLE) -author -version -private -use -header $(JDHEADER) -bottom $(JDBOTTOM) -linkoffline $(JDJAPI) $(JDJAPIC) -linkoffline $(JDPBAPI) $(JDPBAPIC) $(PKGLIST) |
42 |
> |
$(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) |
43 |
|
rm -Rf $(DOCTMPDIR) |
44 |
|
@touch $(JAVADOCCHECK) |
45 |
|
|
80 |
|
rm -Rf $(APICACHE) |
81 |
|
rm -f Config.inc |
82 |
|
|
81 |
– |
### Util Package |
82 |
– |
|
83 |
– |
.PHONY : buildutil |
84 |
– |
buildutil : clean |
85 |
– |
cd uk/org/iscream/cms/server/util && $(MAKE) all |
86 |
– |
cd $(BUILD) && $(MAKE) packageutil |
87 |
– |
|
83 |
|
### Database |
84 |
|
|
85 |
|
.PHONY : createtable |
93 |
|
### Install |
94 |
|
|
95 |
|
.PHONY : install |
96 |
< |
install : $(MCOMPILECHECK) |
96 |
> |
install : $(MCOMPILECHECK) $(JAVADOCCHECK) $(CHANGELOG) |
97 |
|
@echo "-------------------------------------------------------" |
98 |
< |
@echo "Installing to $(INSTALL)" |
99 |
< |
@echo " copying $(PACKAGE) to $(INSTALL)" |
100 |
< |
mkdir -p $(INSTALL) |
101 |
< |
cp $(BUILD)/$(PACKAGE) $(INSTALL) |
102 |
< |
@echo " copying libs to $(INSTALL)/lib" |
103 |
< |
mkdir -p $(INSTALL)/lib |
104 |
< |
cp $(LIBDIR)/*.jar $(INSTALL)/lib |
105 |
< |
@echo " copying etc to $(INSTALL)/etc" |
106 |
< |
mkdir -p $(INSTALL)/etc |
107 |
< |
cp $(BUILD)/etc/default.properties $(INSTALL)/etc |
108 |
< |
cp $(BUILD)/etc/*.conf $(INSTALL)/etc |
109 |
< |
@echo " copying scripts to $(INSTALL)" |
110 |
< |
cp $(BUILD)/run.sh $(INSTALL) |
111 |
< |
cp $(BUILD)/run.bat $(INSTALL) |
112 |
< |
@echo "Completed install to $(INSTALL)" |
98 |
> |
@echo "Installing to $(INSTALLPREFIX)" |
99 |
> |
@echo " copying $(PACKAGE) to $(INSTALLPREFIX)" |
100 |
> |
@mkdir -p $(INSTALLPREFIX) |
101 |
> |
@cp $(BUILD)/$(PACKAGE) $(INSTALLPREFIX) |
102 |
> |
@echo " copying libs to $(INSTALLPREFIX)/lib" |
103 |
> |
@mkdir -p $(INSTALLPREFIX)/lib |
104 |
> |
@cp $(LIBDIR)/*.jar $(INSTALLPREFIX)/lib |
105 |
> |
@echo " copying etc to $(INSTALLPREFIX)/etc" |
106 |
> |
@mkdir -p $(INSTALLPREFIX)/etc |
107 |
> |
@cp $(BUILD)/etc/default.properties $(INSTALLPREFIX)/etc |
108 |
> |
@cp $(BUILD)/etc/*.conf $(INSTALLPREFIX)/etc |
109 |
> |
@echo " copying scripts to $(INSTALLPREFIX)" |
110 |
> |
@cp $(BUILD)/run.sh $(INSTALLPREFIX) |
111 |
> |
@cp $(BUILD)/run.bat $(INSTALLPREFIX) |
112 |
> |
@echo " copying documention to $(INSTALLPREFIX)/doc" |
113 |
> |
@cp -R $(BUILD)/doc $(INSTALLPREFIX) |
114 |
> |
@echo " copying text information files to $(INSTALLPREFIX)" |
115 |
> |
@cp $(BUILD)/COPYING $(CHANGELOG) $(INSTALLPREFIX) |
116 |
> |
@echo "Completed install to $(INSTALLPREFIX)" |
117 |
|
@echo "-------------------------------------------------------" |
118 |
|
|
119 |
|
### Other |