23 |
|
if test ! -d "$(SRCDIR)"; then mkdir -p $(SRCDIR); fi |
24 |
|
echo "CVS" > TAR_EXCLUDE_TMP |
25 |
|
echo ".#*" >> TAR_EXCLUDE_TMP |
26 |
< |
echo "build/lib/*.jar" >> 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) |
99 |
|
### Install |
100 |
|
|
101 |
|
.PHONY : install |
102 |
< |
install : $(MCOMPILECHECK) |
102 |
> |
install : $(MCOMPILECHECK) $(JAVADOCCHECK) $(CHANGELOG) |
103 |
|
@echo "-------------------------------------------------------" |
104 |
< |
@echo "Installing to $(INSTALL)" |
105 |
< |
@echo " copying $(PACKAGE) to $(INSTALL)" |
106 |
< |
mkdir -p $(INSTALL) |
107 |
< |
cp $(BUILD)/$(PACKAGE) $(INSTALL) |
108 |
< |
@echo " copying libs to $(INSTALL)/lib" |
109 |
< |
mkdir -p $(INSTALL)/lib |
110 |
< |
cp $(LIBDIR)/*.jar $(INSTALL)/lib |
111 |
< |
@echo " copying etc to $(INSTALL)/etc" |
112 |
< |
mkdir -p $(INSTALL)/etc |
113 |
< |
cp $(BUILD)/etc/default.properties $(INSTALL)/etc |
114 |
< |
cp $(BUILD)/etc/*.conf $(INSTALL)/etc |
115 |
< |
@echo " copying scripts to $(INSTALL)" |
116 |
< |
cp $(BUILD)/run.sh $(INSTALL) |
117 |
< |
cp $(BUILD)/run.bat $(INSTALL) |
118 |
< |
@echo "Completed install to $(INSTALL)" |
104 |
> |
@echo "Installing to $(INSTALLPREFIX)" |
105 |
> |
@echo " copying $(PACKAGE) to $(INSTALLPREFIX)" |
106 |
> |
@mkdir -p $(INSTALLPREFIX) |
107 |
> |
@cp $(BUILD)/$(PACKAGE) $(INSTALLPREFIX) |
108 |
> |
@echo " copying libs to $(INSTALLPREFIX)/lib" |
109 |
> |
@mkdir -p $(INSTALLPREFIX)/lib |
110 |
> |
@cp $(LIBDIR)/*.jar $(INSTALLPREFIX)/lib |
111 |
> |
@echo " copying etc to $(INSTALLPREFIX)/etc" |
112 |
> |
@mkdir -p $(INSTALLPREFIX)/etc |
113 |
> |
@cp $(BUILD)/etc/default.properties $(INSTALLPREFIX)/etc |
114 |
> |
@cp $(BUILD)/etc/*.conf $(INSTALLPREFIX)/etc |
115 |
> |
@echo " copying scripts to $(INSTALLPREFIX)" |
116 |
> |
@cp $(BUILD)/run.sh $(INSTALLPREFIX) |
117 |
> |
@cp $(BUILD)/run.bat $(INSTALLPREFIX) |
118 |
> |
@echo " copying documention to $(INSTALLPREFIX)/doc" |
119 |
> |
@cp -R $(BUILD)/doc $(INSTALLPREFIX) |
120 |
> |
@echo " copying text information files to $(INSTALLPREFIX" |
121 |
> |
@cp $(BUILD)/COPYING $(CHANGELOG) $(INSTALLPREFIX) |
122 |
> |
@echo "Completed install to $(INSTALLPREFIX)" |
123 |
|
@echo "-------------------------------------------------------" |
124 |
|
|
125 |
|
### Other |