diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,7 +1,24 @@ SHELL = /bin/sh +-include config.mk + +.PHONY: all all: ./demo/template.py build +.PHONY: clean clean: rm -rf build + +.PHONY: install +ifndef prefix +.PHONY: warn-noprefix +warn-noprefix: + @echo "no prefix configured, did you run ./configure?" + @false +install: warn-noprefix +else +install: all + mkdir -p $(prefix)/share/taler-landing + cp -r build/* $(prefix)/share/taler-landing/ +endif |