ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile
(Generate patch)

Comparing projects/cms/source/server/Makefile (file contents):
Revision 1.28 by tdb, Sun Feb 2 19:25:21 2003 UTC vs.
Revision 1.33 by tdb, Tue Feb 11 22:38:29 2003 UTC

# Line 23 | Line 23 | mksrc :
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)
# Line 37 | Line 38 | mkjavadoc : $(IDLCHECK)
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  
# Line 78 | Line 79 | distclean : clean
79          rm -Rf $(APICACHE)
80          rm -f Config.inc
81  
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
82   ### Database
83  
84   .PHONY : createtable
# Line 98 | Line 92 | droptable :
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines