git.lucas.co / fontpreview
git clone https://git.lucas.co/fontpreview.git

Makefile (460B)

 1 PREFIX?=	/usr
 2 BINDIR=		${PREFIX}/bin
 3 
 4 all:
 5 	@echo Run \'make install\' to install fontpreview on your device
 6 
 7 install:
 8 	@mkdir -p $(DESTDIR)$(BINDIR)
 9 	@cp fontpreview $(DESTDIR)$(BINDIR)/fontpreview
10 	@chmod 755 $(DESTDIR)$(BINDIR)/fontpreview
11 	@echo fontpreview has been installed on your device
12 
13 uninstall:
14 	@rm -rf $(DESTDIR)$(BINDIR)/fontpreview
15 	@rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(BINDIR)
16 	@echo fontpreview has been removed from your device