testdata/Makefile
raw| 1 | # Copyright 2013 ChaiShushan <chaishushan{AT}gmail.com>. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style |
| 3 | # license that can be found in the LICENSE file. |
| 4 | |
| 5 | PO_FILES = $(wildcard *.po) |
| 6 | MO_FILES = $(patsubst %.po,%.mo,$(PO_FILES)) |
| 7 | |
| 8 | default: $(MO_FILES) |
| 9 | |
| 10 | clean: |
| 11 | rm *.mo |
| 12 | |
| 13 | %.mo: %.po |
| 14 | msgfmt -o $@ $< |