From 08191f980f96ae7fc943c0a7d2155a9fb643eb0b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 29 Aug 2019 23:06:59 +0200 Subject: simple build system --- Makefile.in | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 Makefile.in (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 8f5ae5b..0000000 --- a/Makefile.in +++ /dev/null @@ -1,56 +0,0 @@ -INSTALL = install -INSTALL_PROGRAM = $(INSTALL) -INSTALL_DATA = $(INSTALL) -m 644 -prefix = @prefix@ -srcdir = @srcdir@ - -script_templates = taler-merchant-survey frontend-survey.wsgi -templates = Makefile $(script_templates) - -edit = sed -e 's|@prefix[@]|$(prefix)|g' - -.PHONY: all -all: $(templates) - cd talersurvey/survey/static/web-common && make && cd - - -Makefile: Makefile.in - ./config.status $@ - -$(script_templates): %: Makefile %.in - rm -f $@ $@.tmp - $(edit) '$(srcdir)/$@.in' >$@.tmp - mv $@.tmp $@ - - -.PHONY: install-data -install-data: $(templates) - @$(INSTALL_DATA) -Dt $(prefix)/share/taler/ frontend-survey.wsgi - -# @test -n "$$(ls -A talerbank/app/static/web-common/)" || \ -# (echo "please check out git submodules"; exit 1) - - - -# link package under prefix to source tree -.PHONY: devinstall -devinstall: $(templates) install-data - @pip3 install -e . --install-option="--prefix=@prefix@" - - -# install into prefix -.PHONY: install -install: $(templates) install-data - @pip3 install . @DEBIAN_PIP3_SYSTEM@ --install-option="--prefix=@prefix@" - @# force update when sources changed - @pip3 install . @DEBIAN_PIP3_SYSTEM@ --install-option="--prefix=@prefix@" --upgrade --no-deps - cd talersurvey/survey/static/web-common && make install && cd - - -# run testcases -.PHONY: check -check: - @export TALER_CONFIG_FILE=@abs_srcdir@/talersurvey/tests.conf; \ - export TALER_PREFIX=@prefix@; \ - python3 setup.py test - -pylint: - @pylint talersurvey/ -- cgit v1.2.3