From 726173b197d08ae28f9dbc0495d56d0ce34d4567 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Fri, 20 Jul 2007 08:00:04 +0000 Subject: [PATCH 1/1] profiles/Makefile: cleanup profiles dir on (un)install git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1018 d19143bc-622f-0410-bfdd-b5b2a6649095 --- profiles/Makefile | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/profiles/Makefile b/profiles/Makefile index 8a60dcd..4da1114 100644 --- a/profiles/Makefile +++ b/profiles/Makefile @@ -8,8 +8,11 @@ distclean: clean: -install: all - install -d $(DESTDIR)$(prefix)/share/mlt/profiles - install -m 644 * $(DESTDIR)$(prefix)/share/mlt/profiles - rm -f $(DESTDIR)$(prefix)/share/mlt/profiles/*~ - rm -f $(DESTDIR)$(prefix)/share/mlt/profiles/Makefile +install: all uninstall + install -d "$(DESTDIR)$(prefix)/share/mlt/profiles" + install -m 644 * "$(DESTDIR)$(prefix)/share/mlt/profiles" + rm -f "$(DESTDIR)$(prefix)/share/mlt/profiles/*~" + rm -f "$(DESTDIR)$(prefix)/share/mlt/profiles/Makefile" + +uninstall: + rm -rf "$(DESTDIR)$(prefix)/share/mlt/profiles" -- 1.7.4.4