don't make dead directory

This commit is contained in:
Robert Harrison 1997-11-07 17:30:13 +00:00
parent 6f39d02805
commit e87b98d4b9
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
SUBDIRS = prog user nwchem_func
SUBDIRS = prog user
MAKESUBDIRS = @for dir in $(SUBDIRS); do \
echo Making $@ in $$dir; \

View file

@ -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/<BODY>/<BODY BACKGROUND="..\/..\/backgrounds\/rainier1_1.jpg" BGCOLOR="FAEBD7">/' -e 's,http://www.emsl.pnl.gov,,g' < $file > $TMP
else if ($document == "user") then
sed -e 's/<BODY>/<BODY BACKGROUND="..\/..\/backgrounds\/mt_st_helens_4.jpg" BGCOLOR="FAEBD7">/' -e 's,http://www.emsl.pnl.gov,,g' < $file > $TMP
sed -e 's/<BODY>/<BODY BACKGROUND="..\/..\/backgrounds\/mt_st_helens_4.jpg" BGCOLOR="FAEBD7">/' \
-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