From 7e6c75f1d1cc595b9be0646ae789289111c415a7 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 8 Jan 2011 12:23:48 +0100 Subject: [PATCH] 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 eea8e8e0a28..f5b245616e7 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 32b7f05c0b7..27eb1e5b63c 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 */ { -- 2.11.4.GIT