File: Makefile

package info (click to toggle)
golang-github-chai2010-gettext-go 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,304 kB
  • sloc: makefile: 29
file content (13 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright 2013 ChaiShushan <chaishushan{AT}gmail.com>. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

default:
	msgfmt -o locale/default/LC_MESSAGES/hello.mo locale/default/LC_MESSAGES/hello.po
	msgfmt -o locale/zh_CN/LC_MESSAGES/hello.mo   locale/zh_CN/LC_MESSAGES/hello.po
	msgfmt -o locale/zh_TW/LC_MESSAGES/hello.mo   locale/zh_TW/LC_MESSAGES/hello.po
	7z a -tzip -scsUTF-8 locale.zip locale
	go run hello.go

clean:
	rm locale.zip