[hackers] [libutf] make (un)install: print destination || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Mon, 21 May 2012 20:04:26 +0200 (CEST)

changeset: 17:e6d19685f06e
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Mon May 21 19:04:16 2012 +0100
files: Makefile
description:
make (un)install: print destination


diff -r 22b64c605385 -r e6d19685f06e Makefile
--- a/Makefile Mon May 21 19:00:45 2012 +0100
+++ b/Makefile Mon May 21 19:04:16 2012 +0100
_AT_@ -23,7 +23,7 @@
         $(AWK) -f mkrunetype.awk UnicodeData-$(UNICODE).txt > $_AT_
 
 install: $(LIB) $(INC) $(MAN)
- _AT_echo @ install libutf
+ _AT_echo @ install libutf to $(DESTDIR)$(PREFIX)
         _AT_mkdir -p $(DESTDIR)$(PREFIX)/lib
         _AT_cp $(LIB) $(DESTDIR)$(PREFIX)/lib/$(LIB)
         _AT_mkdir -p $(DESTDIR)$(PREFIX)/include
_AT_@ -33,10 +33,11 @@
         _AT_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
+ _AT_echo @ uninstall libutf from $(DESTDIR)$(PREFIX)
+ _AT_rm -f $(DESTDIR)$(PREFIX)/lib/$(LIB)
+ _AT_rm -f $(DESTDIR)$(PREFIX)/include/$(INC)
+ _AT_rm -f $(DESTDIR)$(PREFIX)/share/man/man3/rune.3
+ _AT_rm -f $(DESTDIR)$(PREFIX)/share/man/man3/isalpharune.3
 
 clean:
         rm -f $(LIB) utftest utftest.o $(OBJ)
Received on Mon May 21 2012 - 20:04:26 CEST

This archive was generated by hypermail 2.3.0 : Mon May 21 2012 - 20:12:09 CEST