[Webfunds-commits] html/download Makefile
Ian Grigg
iang@cypherpunks.ai
Wed, 5 Jul 2000 17:09:33 -0400 (AST)
iang 00/07/05 17:09:33
Modified: download Makefile
Log:
added install of javadoc for developers in hidden link webfunds.org/jd/
Revision Changes Path
1.11 +14 -0 html/download/Makefile
Index: Makefile
===================================================================
RCS file: /home/webfunds/cvsroot/html/download/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile 2000/06/21 11:49:12 1.10
+++ Makefile 2000/07/05 21:09:33 1.11
@@ -18,6 +18,7 @@
FUNZJAR = $(LIB)/WebFunds.jar
TRADJAR = $(LIB)/Trader.jar
SRCZIP = $(LIB)/src.zip
+JDZIP = $(LIB)/javadoc.zip
$(SOXJAR):
cd ../../java ; . ./init; export makejars=true; ./build_sox
@@ -32,6 +33,10 @@
# makezip is the primary, not make
./makezip www export -d DigiGold_AUG
+$(JDZIP):
+ cd ../../java ; . ./init; ; ./jd
+
+
TRADERDIR = $(HOME)/src/hazlitt/projects/trader
CONTRACT = $(TRADERDIR)/market.asc $(TRADERDIR)/market.loc
@@ -41,4 +46,13 @@
trader: $(TRADJAR) $(SRCZIP)
./makezip www export -d DigiGold_AUG -f "tzip $(CONTRACT)" -j Trader.jar
+
+TMP_JD = /tmp/jdWF.zip
+javadoc:
+ scp $(JDZIP) webfunds.org:/tmp/jdWF.zip
+ ssh webfunds.org pwd '&&' cd ~webfunds/htmldocs/ '&&' \
+ rm -rf jd '&&' mkdir jd '&&' cd jd '&&' \
+ unzip $(TMP_JD) '&&' \
+ ln -s packages.html index.html '&&' \
+ echo rm $(TMP_JD)