tabletoplibrary/Makefile

21 lines
387 B
Makefile
Raw Permalink Normal View History

2021-03-01 12:57:27 -06:00
ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
ifeq ($(LIBDIR),)
LIBDIR := /lib
endif
all: build
build: viewer
nuitka3 --follow-imports app.py -o tabletoplibrary
clean:
rm -f tabletoplibrary
rm -rf pdf.js minified app.build
viewer:
@sh ./makeviewer.sh
install:
install tabletoplibrary $(PREFIX)/bin/
mkdir -p $(LIBDIR)/tabletoplibrary
cp -r minified $(LIBDIR)/tabletoplibrary/