diff options
author | Johannes 'josch' Schauer <josch@mister-muffin.de> | 2017-12-21 22:38:35 +0100 |
---|---|---|
committer | Johannes 'josch' Schauer <josch@mister-muffin.de> | 2017-12-21 22:38:35 +0100 |
commit | a2376d0971129312febd5782f291c98b5c45afdc (patch) | |
tree | bb5fc0a32b324fbd6ae8027bd4dc2606c35cf9f4 /Makefile | |
parent | 44efe077405c2ed5ab7d16967cb636c85f0bf21e (diff) |
Makefile: add .DELETE_ON_ERROR, .POSIX and .PHONY: locale
If a target fails, delete the incomplete result. If a shell command
fails, the rule fails. The locale target is not an actual file, so mark
it as a phony target.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,8 +17,12 @@ # along with dudle. If not, see <http://www.gnu.org/licenses/>. # ############################################################################ +.DELETE_ON_ERROR: +.POSIX: + DOMAIN=dudle +.PHONY: locale locale: $(foreach p,$(wildcard locale/*/$(DOMAIN).po), $(addsuffix .mo,$(basename $p))) RGETTEXT=$(firstword $(shell which rgettext rxgettext)) |