You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2009/04/18 22:50:25 UTC
svn commit: r766390 - in /couchdb/trunk/share: Makefile.am server/mainjs.sh
Author: jan
Date: Sat Apr 18 20:50:25 2009
New Revision: 766390
URL: http://svn.apache.org/viewvc?rev=766390&view=rev
Log:
integrate main.js split-up into build system
Modified:
couchdb/trunk/share/Makefile.am
couchdb/trunk/share/server/mainjs.sh
Modified: couchdb/trunk/share/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/Makefile.am?rev=766390&r1=766389&r2=766390&view=diff
==============================================================================
--- couchdb/trunk/share/Makefile.am (original)
+++ couchdb/trunk/share/Makefile.am Sat Apr 18 20:50:25 2009
@@ -10,11 +10,16 @@
## License for the specific language governing permissions and limitations
## under the License.
+server/main.js:
+ server/mainjs.sh
+
+CLEANFILES = server/main.js
+
nobase_dist_localdata_DATA = \
server/main.js \
www/dialog/_compact_database.html \
- www/dialog/_create_database.html \
www/dialog/_create_document.html \
+ www/dialog/_create_database.html \
www/dialog/_delete_database.html \
www/dialog/_delete_document.html \
www/dialog/_save_view_as.html \
Modified: couchdb/trunk/share/server/mainjs.sh
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/mainjs.sh?rev=766390&r1=766389&r2=766390&view=diff
==============================================================================
--- couchdb/trunk/share/server/mainjs.sh (original)
+++ couchdb/trunk/share/server/mainjs.sh Sat Apr 18 20:50:25 2009
@@ -12,13 +12,13 @@
# License for the specific language governing permissions and limitations under
# the License.
-dirname=`dirname $0`
-
+cd server
cat \
- $dirname/render.js \
- $dirname/state.js \
- $dirname/util.js \
- $dirname/validate.js \
- $dirname/views.js \
- $dirname/loop.js \
- > $dirname/main.js
+ render.js \
+ state.js \
+ util.js \
+ validate.js \
+ views.js \
+ loop.js \
+ > main.js
+cd ..
\ No newline at end of file