]> git.sesse.net Git - mlt/commitdiff
profiles/Makefile: cleanup profiles dir on (un)install
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 20 Jul 2007 08:00:04 +0000 (08:00 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 20 Jul 2007 08:00:04 +0000 (08:00 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1018 d19143bc-622f-0410-bfdd-b5b2a6649095

profiles/Makefile

index 8a60dcde16d9921095c1a0294d04953cd359af81..4da111409bff396815815f6cb646032d2435f203 100644 (file)
@@ -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"