Commit b47b5219 authored by Guenter Paul Peters's avatar Guenter Paul Peters
Browse files

copying of web files fixed

git-svn-id: f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 91a592b4
......@@ -44,7 +44,7 @@ JAVADOCOPTS= -author -protected -nodeprecated -nodeprecatedlist \
#things that are removed recursively by the clean target
CLEAN=$(BINDIR) $(DOCDIR) $(WEBDIR) $(DEPS) $(RELEASEDIR) .lastUpdateDeps .lastUpdateDepsMinusADay .testscompiled
# -- Everything below should be generic - the same for all jtem projects --
......@@ -69,7 +69,7 @@ default:
#dependencies will only be fetched once a day
.PHONY: updatedeps
updatedeps: $(DEPS)
$(DEPS): .lastUpdateDeps
$(DEPS): .lastUpdateDepsMinusADay
.lastUpdateDepsMinusADay: .lastUpdateDeps
@if [ ! -d $(LIBDIR) ]; then mkdir $(LIBDIR); fi
......@@ -120,14 +120,13 @@ $(DOCDIR): $(DEPS) $(shell find $(SRCDIRS))
.PHONY: web
web: $(WEBDIR)/teaser.html $(WEBDIR)/content.html
for f in $?; do $(call copy_to_website,$$f,$(NAME)/$${f#$(WEBDIR)}); done
@if [ ! -d $(WEBDIR) ]; then mkdir $(WEBDIR); fi
@sed -e '0,/teaser start/d;/teaser end/,$$d' $(PACKAGEHTML) > $(WEBDIR)/teaser.html
$(call copy_to_website,$(WEBDIR)/teaser.html,$(NAME)/teaser.html)
@if [ ! -d $(WEBDIR) ]; then mkdir $(WEBDIR); fi
@sed -e '0,/<body>/Id; /<\/body>/I,$$d' $(PACKAGEHTML) > $(WEBDIR)/content.html
$(call copy_to_website,$(WEBDIR)/content.html,$(NAME)/content.html)
blas.jar: $(BINDIR)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment