25 |
|
cd build && $(MAKE) clean |
26 |
|
cd uk/ac/ukc/iscream && $(MAKE) clean |
27 |
|
rm -Rf $(BUILDCHECK) $(IDLCHECK) |
28 |
+ |
rm -Rf $(CVSBUILDTEMP) |
29 |
+ |
|
30 |
+ |
distclean : clean |
31 |
+ |
rm -f $(CLPATH) |
32 |
+ |
rm -f Config.inc |
33 |
+ |
|
34 |
+ |
install : build |
35 |
+ |
@echo "-------------------------------------------------------" |
36 |
+ |
@echo "Installing to $(INSTALL)" |
37 |
+ |
@echo " copying $(PACKAGE) to $(INSTALL)" |
38 |
+ |
mkdir -p $(INSTALL) |
39 |
+ |
cp $(BUILD)/$(PACKAGE) $(INSTALL) |
40 |
+ |
@echo " copying libs to $(INSTALL)/lib" |
41 |
+ |
mkdir -p $(INSTALL)/lib |
42 |
+ |
cp $(LIBDIR)/*.jar $(INSTALL)/lib |
43 |
+ |
@echo " copying etc to $(INSTALL)/etc" |
44 |
+ |
mkdir -p $(INSTALL)/etc |
45 |
+ |
cp $(BUILD)/etc/default.properties $(INSTALL)/etc |
46 |
+ |
cp $(BUILD)/etc/*.conf $(INSTALL)/etc |
47 |
+ |
@echo "Completed install to $(INSTALL)" |
48 |
+ |
@echo "-------------------------------------------------------" |
49 |
+ |
|
50 |
+ |
cvsbuild : |
51 |
+ |
cvs -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE) |
52 |
+ |
cd $(CVSBUILDTEMP) && ./configure |
53 |
+ |
cd $(CVSBUILDTEMP) && $(MAKE) build |
54 |
+ |
cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT) |
55 |
+ |
cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT) |
56 |
|
|
57 |
|
include $(MKINC) |