]> git.sesse.net Git - mlt/blobdiff - profiles/Makefile
profiles/Makefile: cleanup profiles dir on (un)install
[mlt] / 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"