From e87b98d4b9e69bfdebc95c4915233bec8aa55c57 Mon Sep 17 00:00:00 2001 From: Robert Harrison Date: Fri, 7 Nov 1997 17:30:13 +0000 Subject: [PATCH] don't make dead directory --- doc/GNUmakefile | 2 +- doc/htmlize | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/GNUmakefile b/doc/GNUmakefile index 601ac46bb4..452fa765dc 100644 --- a/doc/GNUmakefile +++ b/doc/GNUmakefile @@ -1,5 +1,5 @@ - SUBDIRS = prog user nwchem_func + SUBDIRS = prog user MAKESUBDIRS = @for dir in $(SUBDIRS); do \ echo Making $@ in $$dir; \ diff --git a/doc/htmlize b/doc/htmlize index 8784dda0ab..897b413669 100755 --- a/doc/htmlize +++ b/doc/htmlize @@ -84,7 +84,8 @@ foreach document ($1) # # At same time eliminate references to http://www.emsl.pnl.gov since we # need to reference files from the root in order for them to work on -# both the public and private side +# both the public and private side. +# With DFS WEB now must also remove // from file paths used in images echo " Munging backgrounds and http paths" @@ -94,7 +95,9 @@ foreach document ($1) if ($document == "prog") then sed -e 's///' -e 's,http://www.emsl.pnl.gov,,g' < $file > $TMP else if ($document == "user") then - sed -e 's///' -e 's,http://www.emsl.pnl.gov,,g' < $file > $TMP + sed -e 's///' \ + -e 's,http://www.emsl.pnl.gov,,g' \ + -e 's/\/images\/latex2html\//\/images\/latex2html/g' < $file > $TMP else echo htmlize: unknown document in background munge ... $document exit 1