File: Makefile.in

package info (click to toggle)
libgtkada 18-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,348 kB
  • sloc: ada: 61,514; xml: 7,709; python: 4,310; sh: 2,822; ansic: 1,598; makefile: 240; objc: 160; perl: 70
file content (37 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (10)
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
LANGS = fr_FR
MKDIR = mkdir -p
CP=cp
MV=mv
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
prefix        = @prefix@
localedir     = $(prefix)/share/locale

all:
static:

## Refresh all translations by extracting the strings from the current sources
refresh:
	./build_skeleton.pl > gtkada.pot
	${foreach lang,${LANGS}, \
	if [ -f ${lang}.po ]; then true; else ${CP} gtkada.pot ${lang}.po; fi; \
	msgmerge --no-wrap --update ${lang}.po gtkada.pot}

## Install the translation files
$(LANGS): 
	-msgfmt -o $@.gmo $@.po --statistics --check-header --check-format --check-domain
	$(MKDIR) $(localedir)/$@/LC_MESSAGES
	-$(INSTALL_DATA) $@.gmo $(localedir)/$@/LC_MESSAGES/gtkada.mo

install: $(LANGS)

clean:
	-$(RM) *.gmo 
	
mostlyclean: clean

distclean: mostlyclean
	-$(RM) Makefile

maintainer-clean: distclean