-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.hist
37 lines (25 loc) · 911 Bytes
/
Makefile.hist
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
#------------------- Makefile.tarball -----------------
# Builds the input tarball for batch jobs. The makefile
# is called from the batch_merge.py script.
#=-----------------------------------------------------
DFILES='*.d'
SOFILES='*.so'
PYCFILES='*.pyc'
PCMFILES='*.pcm'
TARBALL= histtarball.tar.gz #default value (typically
#overridden on command line)
PYTHON = $(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 czf $(TARBALL) --exclude=$(DFILES) --exclude=$(SOFILES) --exclude=$(PYCFILES) --exclude=$(PCMFILES) $(TARINPUTS)