-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.plots
40 lines (27 loc) · 970 Bytes
/
Makefile.plots
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#------------------- Makefile.tarball -----------------
# Builds the input tarball for batch jobs. The makefile
# is called from the Submit.py script.
#=-----------------------------------------------------
DFILES='*.d'
SOFILES='*.so'
PYCFILES='*.pyc'
PCMFILES='*.pcm'
ROOTFILES='*.root'
TARBALL = plotstarball.tar.gz #default value (typically
#overridden on command line)
PYTHON = $(wildcard ssdilep/scripts/*.py) \
$(wildcard pyframe/*.py) \
$(wildcard pyutils/*.py) \
$(wildcard metaroot/*.py) \
$(wildcard pyplot/*.py) \
$(wildcard ssdilep/*.py) \
$(wildcard */*/*.py)
TARINPUTS = ssdilep \
metaroot \
pyframe \
pyplot \
pyutils \
$(wildcard *.sh)
all: $(TARBALL)
$(TARBALL): $(PYTHON)
tar cvzf $(TARBALL) --exclude=$(DFILES) --exclude=$(SOFILES) --exclude=$(PYCFILES) --exclude=$(ROOTFILES) --exclude=$(PCMFILES) $(TARINPUTS)