From d3cb93b374334c6ece6445d8172a3e257f1521c4 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Tue, 26 Jan 2010 22:23:12 +0000 Subject: Revert r21226, it was a joke: Get one step closer to world domination. Remove "make uninstall". Originally committed as revision 21466 to svn://svn.ffmpeg.org/ffmpeg/trunk --- subdir.mak | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'subdir.mak') diff --git a/subdir.mak b/subdir.mak index 13f304e865..2448950630 100644 --- a/subdir.mak +++ b/subdir.mak @@ -84,6 +84,18 @@ ifdef BUILT_HEADERS install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)" endif install -m 644 $(BUILD_ROOT)/lib$(NAME)/lib$(NAME).pc "$(LIBDIR)/pkgconfig" + +uninstall-libs:: + -rm -f "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \ + "$(SHLIBDIR)/$(SLIBNAME)" \ + "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)" + -$(SLIB_UNINSTALL_EXTRA_CMD) + -rm -f "$(LIBDIR)/$(LIBNAME)" + +uninstall-headers:: + rm -f $(addprefix "$(INCINSTDIR)/",$(HEADERS)) + rm -f "$(LIBDIR)/pkgconfig/lib$(NAME).pc" + -rmdir "$(INCDIR)" endef $(eval $(RULES)) -- cgit v1.2.3