File: Makefile.am

package info (click to toggle)
gerbv 2.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,332 kB
  • sloc: ansic: 25,151; sh: 3,585; lisp: 896; makefile: 436; cpp: 248; xml: 49; perl: 42
file content (66 lines) | stat: -rw-r--r-- 1,843 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
## Process this file with automake to produce Makefile.in
##
##    Copyright (C) 2000-2003 Stefan Petersen (spe@stacken.kth.se)
##
##  This file is part of gerbv.
##  $Id$
##
##  This program is free software; you can redistribute it and/or modify
##  it under the terms of the GNU General Public License as published by
##  the Free Software Foundation; either version 2 of the License, or
##  (at your option) any later version.
##
##  This program is distributed in the hope that it will be useful,
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##  GNU General Public License for more details.
##
##  You should have received a copy of the GNU General Public License
##  along with this program; if not, write to the Free Software
##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA

LANGUAGES = ru

if HAVE_PO4A
man_MANS = gerbv.1 gerbv.ru.1
else
man_MANS = gerbv.1

all:
	@ echo
	@ echo "WARNING: missing po4a or osp/sp (onsgmls/nsgmls). Rerun \
configure and check for 'checking for po4a-*' and 'checking for onsgmls'/ \
'checking for nsgmls'"
	@ echo
endif

EXTRA_DIST = gerbv.1.in

MOSTLYCLEANFILES = *~
CLEANFILES = *~  *.pot $(man_MANS)

SUFFIXES = .1 .1.in .in .in.po

# .1 << .1.in
.1.in.1:
	sed -e "s;@scmdir@;${pkgdatadir}/scheme;g" \
		-e 's;@version@;@VERSION@;g' \
		$< > $@ || rm $@

# .in << .in.po
.in.po.in:
	$(po4a_translate) -k 70 -M UTF-8 -f man -m gerbv.1.in -p $< -l $@

gerbv.1.in.pot: gerbv.1.in
	$(po4a_gettextize) -M UTF-8 -f man -m $< -p $@

.PHONY: $(LANGUAGES)

update-po: $(LANGUAGES)

# Without dependency to manually update .po files
$(LANGUAGES):
	$(MAKE) gerbv.1.in.pot
	$(MSGMERGE) -v --width=76 gerbv.$@.1.in.po gerbv.1.in.pot \
		-o gerbv.$@.1.in.po.new
	mv gerbv.$@.1.in.po.new gerbv.$@.1.in.po