libutf

UTF-8 library
git clone git://git.suckless.org/libutf
Log | Files | Refs | README | LICENSE

commit 652dd154da45490f9da3a999d9ce62748458fd1c
parent 74d431464aada2142f77fc661bd6ecc289d780ed
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Mon, 21 May 2012 19:04:16 +0100

make (un)install: print destination
Diffstat:
Makefile | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -23,7 +23,7 @@ runetypebody.h: mkrunetype.awk UnicodeData-$(UNICODE).txt $(AWK) -f mkrunetype.awk UnicodeData-$(UNICODE).txt > $@ install: $(LIB) $(INC) $(MAN) - @echo @ install libutf + @echo @ install libutf to $(DESTDIR)$(PREFIX) @mkdir -p $(DESTDIR)$(PREFIX)/lib @cp $(LIB) $(DESTDIR)$(PREFIX)/lib/$(LIB) @mkdir -p $(DESTDIR)$(PREFIX)/include @@ -33,10 +33,11 @@ install: $(LIB) $(INC) $(MAN) @sed 's/$$UNICODE/$(UNICODE)/g' isalpharune.3 > $(DESTDIR)$(PREFIX)/share/man/man3/isalpharune.3 uninstall: - rm -f $(DESTDIR)$(PREFIX)/lib/$(LIB) - rm -f $(DESTDIR)$(PREFIX)/include/$(INC) - rm -f $(DESTDIR)$(PREFIX)/share/man/man3/rune.3 - rm -f $(DESTDIR)$(PREFIX)/share/man/man3/isalpharune.3 + @echo @ uninstall libutf from $(DESTDIR)$(PREFIX) + @rm -f $(DESTDIR)$(PREFIX)/lib/$(LIB) + @rm -f $(DESTDIR)$(PREFIX)/include/$(INC) + @rm -f $(DESTDIR)$(PREFIX)/share/man/man3/rune.3 + @rm -f $(DESTDIR)$(PREFIX)/share/man/man3/isalpharune.3 clean: rm -f $(LIB) utftest utftest.o $(OBJ)