]> git.sesse.net Git - mlt/blobdiff - profiles/Makefile
profiles/Makefile: fix removal of turd (*~) files on install.
[mlt] / profiles / Makefile
index 6dee6502ac2f082b350d53a889233b6308b2d32e..9ad9f62cf09f3bd6b546b01b08e828d11a4f9fcb 100644 (file)
@@ -8,7 +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/{*~,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"