libdrawtext
diff tools/font2glyphmap/Makefile @ 100:49feeaf50ae8
merged
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 18 Dec 2015 02:55:35 +0200 |
parents | 03699346d59f |
children |
line diff
1.1 --- a/tools/font2glyphmap/Makefile Sat Mar 14 23:25:10 2015 +0200 1.2 +++ b/tools/font2glyphmap/Makefile Fri Dec 18 02:55:35 2015 +0200 1.3 @@ -1,3 +1,5 @@ 1.4 +PREFIX = /usr/local 1.5 + 1.6 src = $(wildcard src/*.c) 1.7 obj = $(src:.c=.o) 1.8 bin = font2glyphmap 1.9 @@ -22,3 +24,12 @@ 1.10 .PHONY: clean 1.11 clean: 1.12 rm -f $(obj) $(bin) $(lib_so) 1.13 + 1.14 +.PHONY: install 1.15 +install: 1.16 + mkdir -p $(DESTDIR)$(PREFIX)/bin 1.17 + cp $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) 1.18 + 1.19 +.PHONY: uninstall 1.20 +uninstall: 1.21 + rm -f $(DESTDIR)$(PREFIX)/bin/$(bin)