blob: 2b0da031f79ada19904cd901fdb6209bc3d348ac (
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
25
|
all: compile gettext
build:
meson build
compile: build
cd build && ninja
gettext: build
cd build && ninja shopsystem-pot
cd build && ninja shopsystem-update-po
install: build
cd build && DESTDIR=`pwd`/tmpinst ninja install
clean:
rm -rf build
shop.db: sql/tables.sql sql/views.sql sql/trigger.sql
@for file in $^ ; do \
echo "sqlite3 shop.db < $$file"; \
sqlite3 shop.db < $$file; \
done
.PHONY: all clean install gettext
|