summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e837c8167..ba8934bde 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -112,9 +112,7 @@ sessions-prep:
# Specify BST_FORCE_SESSION_REBUILD=1 to force rebuild all session html files.
#
sessions: sessions-prep
- for file in $(wildcard sessions/*.run); do \
- PYTHONPATH=$(PYTHONPATH) $(BST2HTML) $(BST2HTMLOPTS) $$file; \
- done
+ $(foreach file,$(wildcard sessions/*.run),PYTHONPATH=$(PYTHONPATH) $(BST2HTML) $(BST2HTMLOPTS) $(file) ; )
sessions-clean:
rm -rf source/sessions