diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-26 22:23:12 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-26 22:23:12 +0000 |
commit | d3cb93b374334c6ece6445d8172a3e257f1521c4 (patch) | |
tree | 24e24b380d0450ce55a8f99729465ab24b22b5fa /subdir.mak | |
parent | dfe4dc154b92bfea370dafa32dbda19ef4067a0b (diff) | |
download | ffmpeg-d3cb93b374334c6ece6445d8172a3e257f1521c4.tar.gz |
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
Diffstat (limited to 'subdir.mak')
-rw-r--r-- | subdir.mak | 12 |
1 files changed, 12 insertions, 0 deletions
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)) |