59 |
|
## Cache javadoc API package-list files |
60 |
|
echo "> Caching remote API's" |
61 |
|
|
62 |
< |
JDKURL="http://java.sun.com/j2se/1.3/docs/api/" |
62 |
> |
JDKURL="http://java.sun.com/j2se/1.4.1/docs/api/" |
63 |
|
mkdir -p ${SRCROOT}/.api-cache/jdk |
64 |
|
cd ${SRCROOT}/.api-cache/jdk |
65 |
|
if test -r "package-list"; then \ |
77 |
|
else \ |
78 |
|
echo " - pircbot/package-list not found, fetching from ${PIRCBOTURL}package-list"; \ |
79 |
|
${WGET} ${PIRCBOTURL}package-list; \ |
80 |
+ |
fi |
81 |
+ |
|
82 |
+ |
UTILURL="http://www.i-scream.org.uk/javadoc/util/" |
83 |
+ |
mkdir -p ${SRCROOT}/.api-cache/util |
84 |
+ |
cd ${SRCROOT}/.api-cache/util |
85 |
+ |
if test -r "package-list"; then \ |
86 |
+ |
echo " + util/package-list found"; \ |
87 |
+ |
else \ |
88 |
+ |
echo " - util/package-list not found, fetching from ${UTILURL}package-list"; \ |
89 |
+ |
${WGET} ${UTILURL}package-list; \ |
90 |
|
fi |
91 |
|
|
92 |
|
## Write out the include file for the Makefile's |