comparison configure @ 13703:06cd8401c498

Move help_mp.h generation to Makefile, so it's easier to maintain on help/*.h changes
author wight
date Wed, 20 Oct 2004 14:23:33 +0000
parents dc1facd7c7b0
children 821f464b4d90
comparison
equal deleted inserted replaced
13702:3c6a2b6437df 13703:06cd8401c498
6326 INSTALL = $_install 6326 INSTALL = $_install
6327 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu $_pipe -fomit-frame-pointer -ffast-math 6327 # OPTFLAGS = -O4 $_profile $_debug $_march $_mcpu $_pipe -fomit-frame-pointer -ffast-math
6328 EXTRA_INC = $_inc_extra $_inc_gtk 6328 EXTRA_INC = $_inc_extra $_inc_gtk
6329 OPTFLAGS = -I../libvo -I../../libvo $_inc_x11 $CFLAGS \$(EXTRA_INC) 6329 OPTFLAGS = -I../libvo -I../../libvo $_inc_x11 $CFLAGS \$(EXTRA_INC)
6330 STRIPBINARIES = $_stripbinaries 6330 STRIPBINARIES = $_stripbinaries
6331 HELP_FILE = $_mp_help
6331 6332
6332 PRG = $_prg 6333 PRG = $_prg
6333 PRG_MENCODER = $_prg_mencoder 6334 PRG_MENCODER = $_prg_mencoder
6334 6335
6335 $_live_libs_def 6336 $_live_libs_def
7115 OPTIONAL_OBJS = $_aoobj 7116 OPTIONAL_OBJS = $_aoobj
7116 EOF 7117 EOF
7117 7118
7118 ############################################################################# 7119 #############################################################################
7119 7120
7120 echo "Creating help_mp.h"
7121 cat > help_mp.h << EOF
7122 //
7123 // WARNING! This is a generated file. Do NOT edit.
7124 // See the help/ subdir for the editable files.
7125 //
7126 #include "$_mp_help"
7127 EOF
7128
7129 if test $_mp_help != "help/help_mp-en.h"; then
7130 echo "Adding untranslated messages to help_mp.h"
7131 echo '// untranslated messages from the english master-file:' >> help_mp.h
7132 help/help_diff.sh $_mp_help <help/help_mp-en.h >> help_mp.h
7133 fi
7134
7135 #############################################################################
7136
7137 cat << EOF 7121 cat << EOF
7138 7122
7139 Config files successfully generated by ./configure ! 7123 Config files successfully generated by ./configure !
7140 7124
7141 Install prefix: $_prefix 7125 Install prefix: $_prefix