summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2016-09-17 09:59:13 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2016-09-17 09:59:13 (GMT)
commit3b9439ccd043fe5704af6528f3b3155cf6f8f0c4 (patch)
tree1ff78da19e37ed3e839b53f9c3257c827cbf8f1b /lib
parent8eae1320c29f21f5f6d0493210a942a2eaf8d826 (diff)
downloadlz4-3b9439ccd043fe5704af6528f3b3155cf6f8f0c4.zip
lz4-3b9439ccd043fe5704af6528f3b3155cf6f8f0c4.tar.gz
lz4-3b9439ccd043fe5704af6528f3b3155cf6f8f0c4.tar.bz2
updated uninstall
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 141da01..b5352a0 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -81,7 +81,7 @@ liblz4: *.c
@ln -sf $@.$(SHARED_EXT_VER) $@.$(SHARED_EXT)
clean:
- @rm -f core *.o *.a *.$(SHARED_EXT) *.$(SHARED_EXT).* liblz4.pc
+ @$(RM) -f core *.o *.a *.$(SHARED_EXT) *.$(SHARED_EXT).* liblz4.pc
@echo Cleaning library completed
@@ -111,14 +111,14 @@ install: liblz4 liblz4.pc
@echo lz4 static and shared libraries installed
uninstall:
- @rm -f $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT)
- @rm -f $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_MAJOR)
- @rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/liblz4.pc
- @[ -x $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_VER) ] && rm -f $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_VER)
- @[ -f $(DESTDIR)$(LIBDIR)/liblz4.a ] && rm -f $(DESTDIR)$(LIBDIR)/liblz4.a
- @[ -f $(DESTDIR)$(INCLUDEDIR)/lz4.h ] && rm -f $(DESTDIR)$(INCLUDEDIR)/lz4.h
- @[ -f $(DESTDIR)$(INCLUDEDIR)/lz4hc.h ] && rm -f $(DESTDIR)$(INCLUDEDIR)/lz4hc.h
- @[ -f $(DESTDIR)$(INCLUDEDIR)/lz4frame.h ] && rm -f $(DESTDIR)$(INCLUDEDIR)/lz4frame.h
+ @$(RM) $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT)
+ @$(RM) $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_MAJOR)
+ @$(RM) $(DESTDIR)$(LIBDIR)/pkgconfig/liblz4.pc
+ @$(RM) $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_VER)
+ @$(RM) $(DESTDIR)$(LIBDIR)/liblz4.a
+ @$(RM) $(DESTDIR)$(INCLUDEDIR)/lz4.h
+ @$(RM) $(DESTDIR)$(INCLUDEDIR)/lz4hc.h
+ @$(RM) $(DESTDIR)$(INCLUDEDIR)/lz4frame.h
@echo lz4 libraries successfully uninstalled
endif