26 lines
415 B
Makefile
26 lines
415 B
Makefile
#!/usr/bin/make
|
|
|
|
INSTALL := install
|
|
INSTALL_DATA := install -m 644
|
|
INSTALL_PROGRAM := install -m 755
|
|
INSTALL_DIR := install -m 755 -d
|
|
|
|
PYTHON_OPTS =
|
|
ifneq ($(DESTDIR),)
|
|
PYTHON_OPTS += --root $(DESTDIR)
|
|
endif
|
|
|
|
all: test
|
|
|
|
clean:
|
|
$(RM) -r build
|
|
$(RM) -r tiramisu.egg-info/
|
|
|
|
test: clean
|
|
py.test
|
|
|
|
install:
|
|
python setup.py install --no-compile $(PYTHON_OPTS)
|
|
|
|
.PHONY: all clean test install
|