Commit 1a0f5158 authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

suppress darcs dist output if -s flag is given to make

parent c4df6be3
......@@ -73,9 +73,11 @@ pdf: html
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
$(MAKE) -C $(BUILDDIR)/latex all-pdf
SUPPRESS_OUTPUT := $(if $(findstring s,$(MAKEFLAGS)),>/dev/null,)
tar:
for r in `darcs show tags | egrep '^([R\-][0-9]+)+$$'` ;\
do darcs dist -d documentation/$(PROJECT)`echo $$r|tr - .|tr R -` -t "^$$r$$" ;\
do darcs dist -d documentation/$(PROJECT)`echo $$r|tr - .|tr R -` -t "^$$r$$" $(SUPPRESS_OUTPUT);\
done
singlehtml: tar
......
Supports Markdown
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