source: git/lib/Makefile.am @ d86459c

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since d86459c was d86459c, checked in by Olly Betts <olly@…>, 13 years ago

lib/,src/mainfrm.cc,src/mainfrm.h: We now use .po and .pot files as
the master format for storing translations in (rather than
messages.txt), and then translate these into Survex's .msg format.

git-svn-id: file:///home/survex-svn/survex/trunk@3595 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[adaa778]1## Process this file with automake to produce Makefile.in
2
3# Makefile for survex support files
4
[eb92dcc]5check-local:
[be891ea]6        srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files)
[6deca30]7
[b82777e9]8SUBDIRS = icons
9
[d86459c]10po_files = ca.po de.po de_CH.po de_DE.po en_US.po\
11 es.po fr.po it.po pt.po pt_BR.po sk.po ro.po
12
[c0a9908]13msg_files = ca.msg de.msg de_CH.msg de_DE.msg en.msg en_US.msg\
[d86459c]14 es.msg fr.msg it.msg pt.msg pt_BR.msg sk.msg ro.msg
[adaa778]15
[8ac4406]16hdr_files = ca.h de.h de_CH.h de_DE.h en.h en_US.h\
[d86459c]17 es.h fr.h it.h pt.h pt_BR.h sk.h ro.h
[8ac4406]18
[d86459c]19EXTRA_DIST = survex.pot $(po_files)\
20 named-entities.txt po-to-msg.pl checkshortcut.pl\
[e72b854]21 $(hdr_files) survex.keys.in\
[b4dbba1]22 English_GB.isl Romanian-7-5.1.11.isl\
[d133b65]23 afm2txf.pl\
[64d37a3]24 INSTALL.OSX
[adaa778]25
[40f1e82]26MAINTAINERCLEANFILES = $(msg_files) $(hdr_files) *.todo aven.txf
[6cfa0b5]27
[e72b854]28dist_pkgdata_DATA = print.ini bcra3.svx bcra5.svx $(msg_files) aven.txf
29
30appsdir = $(datadir)/applications
31dist_apps_DATA = survex-aven.desktop survex-svxedit.desktop
[adaa778]32
[c8f550b]33BUILT_SOURCES = defaultlang.h
34
[b462168]35# BUILT_SOURCES are automatically removed by maintainer-clean, but we want it
36# removed by distclean
[f893e4e]37DISTCLEANFILES = defaultlang.h
38
[d86459c]39$(msg_files) $(hdr_files): survex.pot $(po_files) po-to-msg.pl
40        srcdir=$(srcdir) LANG=C perl $(srcdir)/po-to-msg.pl $(po_files)
41
42survex.pot: codes.po
43        perl -pe 's/^msgstr ".*/msgstr ""/' codes.po > survex.pot~
44        mv survex.pot~ survex.pot
[adaa778]45
[c8f550b]46defaultlang.h:
[106af12]47        -rm -f defaultlang.h
[b462168]48        ln -s $(srcdir)/$(DEFAULTLANG).h defaultlang.h
[c8f550b]49
[27b8b59]50mimedir = $(datadir)/mime-info
[e72b854]51dist_mime_DATA = survex.mime
52mime_DATA = survex.keys
[bd551c0]53
54aven.txf:
[d133b65]55        $(srcdir)/afm2txf.pl -o aven.txf /usr/share/texmf-texlive/fonts/afm/urw/helvetic/uhvr8a.afm
Note: See TracBrowser for help on using the repository browser.