]> git.sesse.net Git - vlc/blobdiff - Makefile.am
Do not leak exception message
[vlc] / Makefile.am
index e3a87d269d7a1926ed9db6d31ce93a30483b914d..6ad5d6f06c27dd6bd3c7e0b6f5370ad9f5f5b651 100644 (file)
@@ -86,7 +86,7 @@ AUTOMAKE_OPTIONS = \
 ChangeLog: Makefile.am
        rm -f -- "$@"
        cd doc && $(MAKE) $(AM_MAKEFLAGS) changelogs
-       ln -sf doc/ChangeLog-2008 "$@"
+       ln -sf doc/ChangeLog-2009 "$@"
 
 ###############################################################################
 # MacOS X project
@@ -272,7 +272,6 @@ EXTRA_DIST += \
        extras/package/macosx/plugin/InstallerInfo.plist.in \
        extras/package/macosx/plugin/InstallerDescription.plist \
        extras/package/macosx/plugin/pbdevelopment.plist \
-       extras/package/macosx/plugin/English.lproj/InfoPlist.strings.in \
        extras/package/macosx/eyetvplugin/EyeTVPluginDefs.h \
        extras/package/macosx/eyetvplugin/Info.plist \
        extras/package/macosx/eyetvplugin/eyetvplugin.c \
@@ -398,12 +397,8 @@ if BUILD_VLC
 noinst_SCRIPTS += vlc$(EXEEXT)
 endif
 
-vlc$(EXEEXT): Makefile.am
-       rm -f -- vlc vlc.tmp
-       echo '#! /bin/sh' > vlc.tmp
-       echo 'exec "$$(dirname "$$0")/bin/vlc-static$(EXEEXT)" "--plugin-path=$$(dirname "$$0")/modules" "$$@"' >> vlc.tmp
-       chmod +x vlc.tmp
-       mv -f -- vlc.tmp vlc
+vlc$(EXEEXT):
+       ln -sf bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
 
 if HAVE_DARWIN
 if BUILD_VLC
@@ -580,7 +575,7 @@ VLC-release.app: vlc
        find $(top_builddir)/VLC-release.app -type f -exec chmod ugo+r '{}' \;
 
 # This is just for development purposes. 
-# The resulting VLC.app will only in this tree.
+# The resulting VLC.app will only run in this tree.
 VLC.app: vlc $(top_builddir)/src/.libs/libvlccore.dylib $(top_builddir)/src/.libs/libvlc.dylib
        (cd src && make install)
        rm -Rf $(top_builddir)/tmp
@@ -869,6 +864,8 @@ if BUILD_SKINS
        for i in $(top_builddir)/share/skins2/*.*; do \
          cp -- "$$i" $(win32_destdir)/skins/ || true ; \
        done
+       cp -- $(srcdir)/share/skins2/skin.catalog $(win32_destdir)/skins/ || true ;
+       cp -- $(srcdir)/share/skins2/skin.dtd $(win32_destdir)/skins/ || true ;
 endif
 
 if BUILD_OSDMENU
@@ -1211,37 +1208,12 @@ package-translations:
 
 ###############################################################################
 # PO translation files update
-# Generate po/POTFILES.in which lists all the files containing translatable
-# strings. Find all source files and remove the generated files
 ###############################################################################
 .PHONY: update-po
 
 update-po:
-       rm -f $(top_srcdir)/po/POTFILES.in
-       { \
-         cd $(top_srcdir) && \
-         echo "# automatically created by make update-po" ; \
-         echo "" ; \
-         echo "# main sources" ; \
-         find include src -name '*.[chm]' -o -name '*.[ch]pp' \
-           | grep -v '\(misc/modules_\|src/misc/revision.c\|modules/builtin.h\|include/vlc_about.h\)' \
-           | sort ; \
-         echo "" ; \
-         echo "# modules" ; \
-         find modules -name '*.[chm]' -o -name '*.[ch]pp' -o -name '*.ui' \
-           | grep -v '\(\.moc\.\|gui/gtk2/\)' \
-           | grep -vE 'qt4/ui/.*.h' \
-           | grep -v 'qt4/resources.cpp\|qt4/dialogs/about.hpp' \
-           | grep -v 'gui/opie' \
-           | grep -v 'wxwidgets' \
-           | grep -v 'mux/rtp/' \
-           | grep -v 'demux/rtpxiph.c' \
-           | sort ; \
-       } > $(top_srcdir)/po/POTFILES.in
-       rm -f $(top_srcdir)/po/vlc.pot
        cd po && $(MAKE) POTFILES vlc.pot update-po
 
-#cd po && $(MAKE) update-po
 
 ###############################################################################
 # Enforce Mac OS X deployment target environment variable