libxlsxwriter/Makefile in fast_excel-0.2.6 vs libxlsxwriter/Makefile in fast_excel-0.3.0
- old
+ new
@@ -1,20 +1,22 @@
###############################################################################
#
# Makefile for libxlsxwriter library.
#
-# Copyright 2014-2018, John McNamara, jmcnamara@cpan.org
+# Copyright 2014-2019, John McNamara, jmcnamara@cpan.org
#
# Keep the output quiet by default.
Q=@
ifdef V
Q=
endif
INSTALL_DIR ?= /usr/local
+PYTEST ?= py.test
+
.PHONY: docs tags examples
# Build the libs.
all :
ifndef USE_SYSTEM_MINIZIP
@@ -30,13 +32,13 @@
$(Q)$(MAKE) -C examples
# Clean src and test directories.
clean :
$(Q)$(MAKE) clean -C src
- $(Q)$(MAKE) clean -C test/unit
- $(Q)$(MAKE) clean -C test/functional/src
- $(Q)$(MAKE) clean -C examples
+ # $(Q)$(MAKE) clean -C test/unit
+ # $(Q)$(MAKE) clean -C test/functional/src
+ # $(Q)$(MAKE) clean -C examples
$(Q)rm -rf docs/html
$(Q)rm -rf test/functional/__pycache__
$(Q)rm -f test/functional/*.pyc
$(Q)rm -f lib/*
ifndef USE_STANDARD_TMPFILE
@@ -56,10 +58,10 @@
# Run the functional tests.
test_functional : all
$(Q)$(MAKE) -C test/functional/src
- $(Q)py.test test/functional -v
+ $(Q)$(PYTEST) test/functional -v
# Run all tests.
test_unit :
@echo "Compiling unit tests ..."
ifndef USE_SYSTEM_MINIZIP