diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-05-20 22:34:55 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-05-20 22:34:55 +0000 |
commit | 6b2fd2b500b7354cc6ca719af41c33d1b3226599 (patch) | |
tree | faedbc5393ea4ef90a350be8b00edc43140b01eb /www/WebMagick/files | |
parent | Complete back-out of the bsd.locale.mk change. (diff) |
Write javascript junk only if it is enabled
Notes
Notes:
svn path=/head/; revision=11085
Diffstat (limited to 'www/WebMagick/files')
-rw-r--r-- | www/WebMagick/files/patch-aa | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/www/WebMagick/files/patch-aa b/www/WebMagick/files/patch-aa index 4adb9c3735cd..9ac3f58e0f71 100644 --- a/www/WebMagick/files/patch-aa +++ b/www/WebMagick/files/patch-aa @@ -1,5 +1,5 @@ -*** webmagick.in.bak Tue Mar 24 07:45:45 1998 ---- webmagick.in Thu May 21 02:06:06 1998 +*** webmagick.in.orig Tue Mar 24 07:45:45 1998 +--- webmagick.in Thu May 21 02:35:08 1998 *************** *** 249,255 **** # Name of per-directory rc file @@ -17,3 +17,42 @@ # File naming +*************** +*** 1584,1590 **** + # Save run status (source files and montage options) + # + writePerlIndexFiles(); +! writeJavaScriptIndexFiles(); + } + + # Clear error flag +--- 1584,1592 ---- + # Save run status (source files and montage options) + # + writePerlIndexFiles(); +! if( $opt_javascript ) { +! writeJavaScriptIndexFiles(); +! } + } + + # Clear error flag +*************** +*** 1860,1865 **** +--- 1862,1868 ---- + + # ----- Output Top JavaScript Index File (usually "indexjs.html") ------- + # ++ if( $opt_javascript ) { + open( INDEX, ">$fileNames{'jsDirIndex'}") + || die("$0: Failed to open file $fileNames{'jsDirIndex'} for output\n$@\n"); + print( INDEX "<HTML>\n" ); +*************** +*** 1873,1878 **** +--- 1876,1882 ---- + print( INDEX "</SCRIPT>\n" ); + print( INDEX "</HTML>\n" ); + close( INDEX ); ++ } + + + # ----- Output Frame Directory File (usally ".indexdir.html") ------ |