libdrawtext
changeset 50:4452a6143d12
install / uninstall targets for font2glyphmap
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 30 Oct 2015 06:26:15 +0200 |
parents | 1e72e35a85ee |
children | 670d0affc08f |
files | tools/font2glyphmap/Makefile |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/tools/font2glyphmap/Makefile Tue Oct 20 05:52:01 2015 +0300 1.2 +++ b/tools/font2glyphmap/Makefile Fri Oct 30 06:26:15 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)