X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.am;h=cd74a0d95ae51123eb583887b8b868bb30a80863;hb=c73cac4ec8416f946774be2104cada36550b44e5;hp=dd5f2bab178bddb4f09d06aaf511cbd70f8aa130;hpb=17557ea64382428560a75ecef753e88f39158834;p=vlc diff --git a/Makefile.am b/Makefile.am index dd5f2bab17..cd74a0d95a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -102,6 +102,7 @@ HEADERS_include = \ include/vlc_interface.h \ include/vlc_keys.h \ include/vlc_messages.h \ + include/vlc_meta.h \ include/vlc_objects.h \ include/vlc_playlist.h \ include/vlc_threads.h \ @@ -318,7 +319,7 @@ SOURCES_libvlc_common = \ src/playlist/group.c \ src/playlist/item.c \ src/playlist/item-ext.c \ - src/playlist/info.c \ + src/playlist/info.c \ src/input/input.c \ src/input/es_out.c \ src/input/stream.c \ @@ -357,6 +358,7 @@ SOURCES_libvlc_common = \ src/misc/objects.c \ src/misc/variables.c \ src/misc/error.c \ + src/misc/net.c \ src/extras/libc.c \ $(NULL) @@ -465,6 +467,8 @@ VLC.app: vlc output.m \ playlist.h \ playlist.m \ + prefs_widgets.h \ + prefs_widgets.m \ prefs.h \ prefs.m \ vout.h \ @@ -684,6 +688,34 @@ package-macosx: # Clean up rm -Rf $(top_builddir)/tmp +package-translations: + @if test -e "$(srcdir)/vlc-translations-${VERSION}"; then \ + echo "Error: please remove $(srcdir)/vlc-translations-${VERSION}, it is in the way"; \ + false; \ + else \ + echo "OK."; mkdir -p "$(srcdir)/vlc-translations-${VERSION}"; \ + fi +# Copy translations + for i in $(ALL_LINGUAS); do \ + cp "$(srcdir)/po/$${i}.po" \ + "$(srcdir)/vlc-translations-${VERSION}/$${i}.po" \ + || true ; \ + done + cp "$(srcdir)/doc/translations.txt" \ + "$(srcdir)/vlc-translations-${VERSION}/README.txt" + + echo "#!/bin/sh" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo 'if test $$# != 1; then' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo " echo \"Usage: convert-po.sh <.po file>\"" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo " exit 1" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo "fi" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + echo 'msgfmt --statistics -o vlc.mo $$1' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh" + + $(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \ + | GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz + ############################################################################### # Stamp rules ###############################################################################