11 |
|
.PHONY : build |
12 |
|
build : |
13 |
|
cd uk/org/iscream/cms/util && $(MAKE) all |
14 |
+ |
cp $(SOURCEROOT)/$(LICFILE) $(BUILD) |
15 |
|
cd $(BUILD) && $(MAKE) package |
16 |
|
|
17 |
|
### Source, Doc, & Changelog |
73 |
|
cd $(BUILD) && rm -f $(CLPATH) |
74 |
|
rm -Rf $(APICACHE) |
75 |
|
rm -f Config.inc |
76 |
+ |
|
77 |
+ |
### Install |
78 |
+ |
|
79 |
+ |
.PHONY : install |
80 |
+ |
install : $(MCOMPILECHECK) $(JAVADOCCHECK) $(CHANGELOG) |
81 |
+ |
@echo "-------------------------------------------------------" |
82 |
+ |
@echo "Installing to $(INSTALLPREFIX)" |
83 |
+ |
@echo " copying $(PACKAGE) to $(INSTALLPREFIX)" |
84 |
+ |
@mkdir -p $(INSTALLPREFIX) |
85 |
+ |
@cp $(BUILD)/$(PACKAGE) $(INSTALLPREFIX) |
86 |
+ |
@echo " copying libs to $(INSTALLPREFIX)/lib" |
87 |
+ |
@mkdir -p $(INSTALLPREFIX)/lib |
88 |
+ |
@cp $(LIBDIR)/*.jar $(INSTALLPREFIX)/lib |
89 |
+ |
@echo " copying documention to $(INSTALLPREFIX)/doc" |
90 |
+ |
@cp -R $(BUILD)/doc $(INSTALLPREFIX) |
91 |
+ |
@echo " copying text information files to $(INSTALLPREFIX)" |
92 |
+ |
@cp $(BUILD)/README $(BUILD)/COPYING $(CHANGELOG) $(INSTALLPREFIX) |
93 |
+ |
@echo "Completed install to $(INSTALLPREFIX)" |
94 |
+ |
@echo "-------------------------------------------------------" |
95 |
|
|
96 |
|
### Global Include |
97 |
|
|