File: Makefile

package info (click to toggle)
golang-github-chai2010-gettext-go 0.0~git20191225.6b9f4b1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,256 kB
  • sloc: makefile: 23
file content (13 lines) | stat: -rw-r--r-- 506 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 local/default/LC_MESSAGES/hello.mo local/default/LC_MESSAGES/hello.po
	msgfmt -o local/zh_CN/LC_MESSAGES/hello.mo   local/zh_CN/LC_MESSAGES/hello.po
	msgfmt -o local/zh_TW/LC_MESSAGES/hello.mo   local/zh_TW/LC_MESSAGES/hello.po
	7z a -tzip -scsUTF-8 local.zip local
	go run hello.go

clean:
	rm local.zip