makefiles: Generate dependencies for rsrc.pot.
This commit is contained in:
parent
fe6735b184
commit
7e6c75f1d1
|
@ -179,7 +179,7 @@ install install-lib install-dev uninstall::
|
||||||
|
|
||||||
all: @MAINTAINER_MODE@ $(PO_SRCS:%=rsrc.pot)
|
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)
|
$(LDPATH) $(WRC) $(RCFLAGS) -O pot -o $@ $(PO_SRCS)
|
||||||
|
|
||||||
$(MC_SRCS:.mc=.mc.rc): $(WMC)
|
$(MC_SRCS:.mc=.mc.rc): $(WMC)
|
||||||
|
|
|
@ -854,7 +854,7 @@ static int output_src( FILE *file, INCL_FILE *pFile, int *column )
|
||||||
}
|
}
|
||||||
else if (!strcmp( ext, "rc" )) /* resource file */
|
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 */
|
else if (!strcmp( ext, "mc" )) /* message file */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue