X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=profiles%2FMakefile;h=cc6ff46b6b210367d7e8c3c40f8d8314730b20f0;hb=6005571e839b74e9019f8f43b4ef4ff76f793780;hp=8a60dcde16d9921095c1a0294d04953cd359af81;hpb=bb60aed4cf200e2cda2ec33f0cbc25ee9e8fceee;p=mlt diff --git a/profiles/Makefile b/profiles/Makefile index 8a60dcde..cc6ff46b 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)$(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"