Skip to content

Commit

Permalink
added uninstall make targets
Browse files Browse the repository at this point in the history
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@988 d19143bc-622f-0410-bfdd-b5b2a6649095
  • Loading branch information
ddennedy committed Jun 12, 2007
1 parent fb4c972 commit 2bd3c39
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ install:
if test -z "$(DESTDIR)"; then \
/sbin/ldconfig || true; \
fi

uninstall:
rm -f "$(DESTDIR)$(bindir)"/mlt-config
rm -f "$(DESTDIR)$(libdir)/pkgconfig/mlt-*.pc"
list='$(SUBDIRS)'; \
for subdir in $$list; do \
$(MAKE) DESTDIR=$(DESTDIR) -C $$subdir $@ || exit 1; \
done
rm -rf "$(DESTDIR)$(prefix)/include/mlt"
rm -rf "$(DESTDIR)$(prefix)/share/mlt"
3 changes: 3 additions & 0 deletions src/albino/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ install: all
install -d "$(DESTDIR)$(bindir)"
install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"

uninstall:
rm -f "$(DESTDIR)$(bindir)/$(TARGET)"

ifneq ($(wildcard .depend),)
include .depend
endif
5 changes: 5 additions & 0 deletions src/framework/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ install:
install -d "$(DESTDIR)$(prefix)/include/mlt/framework"
install -m 644 $(INCS) "$(DESTDIR)$(prefix)/include/mlt/framework"

uninstall:
rm -f "$(DESTDIR)$(libdir)/$(TARGET)"
rm -f "$(DESTDIR)$(libdir)/$(NAME)"
rm -rf "$(DESTDIR)$(prefix)/include/mlt/framework"

ifneq ($(wildcard .depend),)
include .depend
endif
3 changes: 3 additions & 0 deletions src/humperdink/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ install: all
install -d "$(DESTDIR)$(bindir)"
install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"

uninstall:
rm -f "$(DESTDIR)$(bindir)/$(TARGET)"

ifneq ($(wildcard .depend),)
include .depend
endif
3 changes: 3 additions & 0 deletions src/inigo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ install: all
install -d "$(DESTDIR)$(bindir)"
install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"

uninstall:
rm -f "$(DESTDIR)$(bindir)/$(TARGET)"

ifneq ($(wildcard .depend),)
include .depend
endif
6 changes: 6 additions & 0 deletions src/miracle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ install: all
mkdir -p "$(DESTDIR)$(prefix)/include/mlt/miracle"
install -m 644 $(INCS) "$(DESTDIR)$(prefix)/include/mlt/miracle"

uninstall:
rm -f "$(DESTDIR)$(bindir)/$(TARGET)"
rm -f "$(DESTDIR)$(libdir)/$(LIBTARGET)"
rm -f "$(DESTDIR)$(libdir)/$(LIBNAME)"
rm -rf "$(DESTDIR)$(prefix)/include/mlt/miracle"

ifneq ($(wildcard .depend),)
include .depend
endif
3 changes: 3 additions & 0 deletions src/modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ install:
fi \
done

uninstall:
rm -rf "$(DESTDIR)$(prefix)/share/mlt/modules"

5 changes: 5 additions & 0 deletions src/valerie/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ install: all
mkdir -p "$(DESTDIR)$(prefix)/include/mlt/valerie"
install -m 644 $(INCS) "$(DESTDIR)$(prefix)/include/mlt/valerie"

uninstall:
rm -f "$(DESTDIR)$(libdir)/$(TARGET)"
rm -f "$(DESTDIR)$(libdir)/$(NAME)"
rm -rf "$(DESTDIR)$(prefix)/include/mlt/valerie"

ifneq ($(wildcard .depend),)
include .depend
endif

0 comments on commit 2bd3c39

Please sign in to comment.