+2014-05-19 Daiki Ueno <ueno@gnu.org>
+
+ * Makefile.am (po-gram-gen2.h): Adjust the directory to which
+ po-gram-gen.h, for VPATH build.
+
2014-05-15 Stanislav Brabec <sbrabec@suse.cz> (tiny change)
msgfilter: Implement plural support
po-lex.o po-lex.lo: po-gram-gen2.h
po-gram-gen2.h: po-gram-gen.h
- $(SED) -e 's/yy/po_gram_/g' -e 's/extern /extern DLL_VARIABLE /' $(srcdir)/po-gram-gen.h > $@-tmp
+ srcdir=''; \
+ test -f ./po-gram-gen.h || srcdir=$(srcdir)/; \
+ $(SED) -e 's/yy/po_gram_/g' -e 's/extern /extern DLL_VARIABLE /' \
+ $${srcdir}po-gram-gen.h > $@-tmp && \
mv $@-tmp $@