makefiles: Generate dependencies for rsrc.pot.

This commit is contained in:
Alexandre Julliard 2011-01-08 12:23:48 +01:00
parent fe6735b184
commit 7e6c75f1d1
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ install install-lib install-dev uninstall::
all: @MAINTAINER_MODE@ $(PO_SRCS:%=rsrc.pot)
$(PO_SRCS:%=rsrc.pot): $(WRC) $(PO_SRCS)
rsrc.pot: $(WRC)
$(LDPATH) $(WRC) $(RCFLAGS) -O pot -o $@ $(PO_SRCS)
$(MC_SRCS:.mc=.mc.rc): $(WMC)

View File

@ -854,7 +854,7 @@ static int output_src( FILE *file, INCL_FILE *pFile, int *column )
}
else if (!strcmp( ext, "rc" )) /* resource file */
{
*column += fprintf( file, "%s.res: %s", obj, pFile->filename );
*column += fprintf( file, "rsrc.pot %s.res: %s", obj, pFile->filename );
}
else if (!strcmp( ext, "mc" )) /* message file */
{