X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=Makefile;h=afc885efae95b2debe2aa4c249242159e3859c8a;hb=324119a5be8207ae85aa05c238bb70590d7a681e;hp=8cb236e63e6ba77d880bbac395daa357fb0ccf6c;hpb=2bd3c395eac9fb8b02f6b39786659c7d1481872d;p=melted diff --git a/Makefile b/Makefile index 8cb236e..afc885e 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ SUBDIRS = src/framework \ src/miracle \ src/humperdink \ src/albino \ - src/modules + src/modules \ + profiles all clean: list='$(SUBDIRS)'; \ @@ -29,8 +30,9 @@ install: install -d "$(DESTDIR)$(prefix)/bin" install -d "$(DESTDIR)$(prefix)/include" install -d "$(DESTDIR)$(libdir)" + install -d "$(DESTDIR)$(libdir)/mlt" install -d "$(DESTDIR)$(libdir)/pkgconfig" - install -d "$(DESTDIR)$(prefix)/share/mlt/modules" + install -d "$(DESTDIR)$(prefix)/share/mlt" install -c -m 755 mlt-config "$(DESTDIR)$(bindir)" install -c -m 644 *.pc "$(DESTDIR)$(libdir)/pkgconfig" install -m 644 packages.dat "$(DESTDIR)$(prefix)/share/mlt/" @@ -51,3 +53,9 @@ uninstall: done rm -rf "$(DESTDIR)$(prefix)/include/mlt" rm -rf "$(DESTDIR)$(prefix)/share/mlt" + +dist: + [ -d "mlt-$(version)" ] && rm -rf "mlt-$(version)" || echo + svn export http://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt "mlt-$(version)" + svn log > "mlt-$(version)/ChangeLog" + tar -cvzf "mlt-$(version).tar.gz" "mlt-$(version)"