summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in72
1 files changed, 0 insertions, 72 deletions
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 3748959..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,72 +0,0 @@
-INSTALL = install
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL) -m 644
-prefix = @prefix@
-srcdir = @srcdir@
-SUBDIRS = talerbackoffice/backoffice/templates
-
-script_templates = taler-merchant-backoffice backoffice.wsgi
-templates = Makefile $(script_templates)
-ava = js/node_modules/.bin/ava
-edit = sed -e 's|@prefix[@]|$(prefix)|g'
-
-.PHONY: all
-all: $(SUBDIRS) $(templates)
- cd talerbackoffice/backoffice/static/web-common && make && cd -
-
-.PHONY: $(SUBDIRS)
-$(SUBDIRS):
- $(MAKE) -C $@
-
-Makefile: Makefile.in
- ./config.status $@
-
-$(script_templates): %: Makefile %.in
- rm -f $@ $@.tmp
- $(edit) '$(srcdir)/$@.in' >$@.tmp
- mv $@.tmp $@
-
-.PHONY: check-js
-check-js:
- @cd js; yarn install
- @$(ava) js/node_modules/.bin/ava js/test/main.js
-
-.PHONY: install-js
-install-js:
- @cp js/*.js talerbackoffice/backoffice/static
-
-.PHONY: install-data
-install-data: $(templates) install-js
- @$(INSTALL_DATA) -Dt $(prefix)/share/taler/ backoffice.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@"
-
-compile-lang:
- $(MAKE) -C talerbackoffice/backoffice/templates compile
-
-# install into prefix
-.PHONY: install
-install: $(templates) install-data compile-lang
- @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 talerbackoffice/backoffice/static/web-common && make install && cd -
-
-# run testcases
-.PHONY: check
-check:
- @export TALER_CONFIG_FILE=@abs_srcdir@/talerbackoffice/tests.conf; \
- export BACKOFFICE_BACKEND="http://backend.example.com/"; \
- export BACKOFFICE_INSTANCES="MusicShop"; python3 setup.py test
-
-.PHONY: pylint
-pylint:
- @pylint talerbackoffice/