forked from wesm/PyTables
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (16 loc) · 691 Bytes
/
Makefile
File metadata and controls
24 lines (16 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This Makefile is only intended to prepare for distribution the PyTables
# sources exported from a repository. For building and installing PyTables,
# please use ``setup.py`` as described in the ``README.txt`` file.
VERSION = $(shell cat VERSION)
SRCDIRS = tables src doc
GENERATED = ANNOUNCE.txt
.PHONY: dist clean
dist: $(GENERATED)
for srcdir in $(SRCDIRS) ; do $(MAKE) -C $$srcdir $@ ; done
clean:
rm -rf MANIFEST build dist
rm -f $(GENERATED) tables/*.so tables/numexpr/*.so
find . '(' -name '*.py[co]' -o -name '*~' ')' -exec rm '{}' ';'
for srcdir in $(SRCDIRS) ; do $(MAKE) -C $$srcdir $@ ; done
%: %.in VERSION
cat "$<" | sed -e 's/@VERSION@/$(VERSION)/g' > "$@"