i18n: treat "make pot" as an explicitly-invoked target
commit1f31963e9214e5907bc00908100d3a2902ab35dc
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 22 Aug 2014 04:32:08 +0000 (22 00:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Aug 2014 19:23:01 +0000 (25 12:23 -0700)
treebbe3e068ecdc0a62832f700d5754b3f99bb43480
parent6c4ab27f2378ce67940b4496365043119d7ffff2
i18n: treat "make pot" as an explicitly-invoked target

po/git.pot is normally used as-is and not regenerated by people
building git, so it is okay if an explicit "make po/git.pot" always
automatically regenerates it.  Depend on the magic FORCE target
instead of explicitly keeping track of dependencies.

This simplifies the makefile, in particular preparing for a moment
when $(LIB_H), which is part of $(LOCALIZED_C), can be computed on the
fly. It also fixes a slight breakage in which changes to perl and shell
scripts did not trigger a rebuild of po/git.pot.

We still need a dependency on GENERATED_H, to force those files to be
built when regenerating git.pot.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile