summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6e4cf5c164e4348def53235e5cdfda907fa96be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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