Fix make dist
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 5 Sep 2007 22:11:02 +0000 (22:11 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 5 Sep 2007 22:11:02 +0000 (22:11 +0000)
Makefile.am
po/POTFILES.in

index 38db434..c69fe3a 100644 (file)
@@ -986,6 +986,8 @@ 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
 
@@ -1003,7 +1005,7 @@ update-po:
          echo "# modules" ; \
          find modules -name '*.[chm]' -o -name '*.[ch]pp' -o -wholename 'modules/gui/qt4/ui/*.ui'\
            | grep -v '\(\.moc\.\|gui/gtk2/\)' \
-           | grep -vE 'qt4/ui/.*.h' |grep -v qt4/resources.cpp \
+           | grep -vE 'qt4/ui/.*.h' |grep -v 'qt4/resources.cpp\|qt4/dialogs/about.hpp' \
            | sort ; \
        } > $(top_srcdir)/po/POTFILES.in
        rm -f $(top_srcdir)/po/vlc.pot
index 87cfdbc..ab7bf5e 100644 (file)
@@ -617,7 +617,6 @@ modules/gui/qt4/components/preferences_widgets.cpp
 modules/gui/qt4/components/preferences_widgets.hpp
 modules/gui/qt4/components/simple_preferences.cpp
 modules/gui/qt4/components/simple_preferences.hpp
-modules/gui/qt4/dialogs/about.hpp
 modules/gui/qt4/dialogs/errors.cpp
 modules/gui/qt4/dialogs/errors.hpp
 modules/gui/qt4/dialogs/extended.cpp