Module: wine Branch: master Commit: 7e6c75f1d1cc595b9be0646ae789289111c415a7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e6c75f1d1cc595b9be0646ae7...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Jan 8 12:23:48 2011 +0100
makefiles: Generate dependencies for rsrc.pot.
---
Make.rules.in | 2 +- tools/makedep.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Make.rules.in b/Make.rules.in index eea8e8e..f5b2456 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -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) diff --git a/tools/makedep.c b/tools/makedep.c index 32b7f05..27eb1e5 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -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 */ {