A tool for viewing and editing collections of pdfs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tabletoplibrary/Makefile

20 lines
387 B

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/