]> git.sesse.net Git - mlt/blobdiff - profiles/Makefile
Movit debugging always.
[mlt] / profiles / Makefile
index 8a60dcde16d9921095c1a0294d04953cd359af81..cc6ff46b6b210367d7e8c3c40f8d8314730b20f0 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)$(mltdatadir)/profiles"
+       install -m 644 * "$(DESTDIR)$(mltdatadir)/profiles"
+       rm -f "$(DESTDIR)$(mltdatadir)/profiles/"*~
+       rm -f "$(DESTDIR)$(mltdatadir)/profiles/Makefile"
+
+uninstall:
+       rm -rf "$(DESTDIR)$(mltdatadir)/profiles"