Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit ec89be7c authored by ulrich_y's avatar ulrich_y
Browse files

Added makefiles

parent 0b955418
No related branches found
No related tags found
No related merge requests found
makefile 0 → 100644
FOLDERS=mu-e-scattering/muone \
radiative-lepton-decay/babar/example \
michel-decay/validation michel-decay/demo-observable
all:
for i in $(FOLDERS) ; do make -C $$i all ; done
check:
for i in $(FOLDERS) ; do make -C $$i check ; done
clean:
for i in $(FOLDERS) ; do make -C $$i clean ; done
name=demo-observable
figures=demo.pdf
include ../../tools/makefile.conf
name=validation
figures=comparison.pdf
include ../../tools/makefile.conf
name=muone
plots=gauge.pdf gauge-aco.pdf nnlo.pdf nnlo-aco.pdf
xs=xi-nlo.pdf xi-nnlo.pdf xs.tex
figures=$(addprefix plots/,$(xs) $(plots))
include ../../tools/makefile.conf
name=example
figures=meg.pdf ee.pdf
include ../../../tools/makefile.conf
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
PYTHON=python
PEP8=pep8
PY2NB = $(PYTHON) $(SELF_DIR)/py2nb.py -x
JUPYTERCONV=jupyter nbconvert
PEP8FLAGS=--ignore=E265,E266,W503,E121,E123,E126,E226,E24,E704,W503
.DEFAULT_GOAL=all
.PHONY:check clean
%.ipynb: %.py
$(PY2NB) $<
%.html: %.ipynb
$(JUPYTERCONV) --to html $<
$(figures): $(name).ipynb
all: $(name).html $(figures)
clean:
rm -f *.ipynb *.pdf *.png *.html *.tex *.pgf
check:
@res=$$(find . -name *.py -exec $(PEP8) $(PEP8FLAGS) {} \;) ; \
if [ -n "$$res" ]; then echo "$$res" ; fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment