source: git/lib/Makefile.am @ c584ed2

add-show-splaysline_contentsstereosvn/github/mastersvn/origin/mastersvn/tags/1.2.0svn/tags/1.2.1svn/tags/1.2.2svn/tags/1.2.3svn/tags/1.2.4svn/tags/1.2.5svn/trunktravis-osx
Last change on this file since c584ed2 was c584ed2, checked in by Olly Betts <olly@…>, 8 years ago

configure.in,lib/Makefile.am,lib/po-to-msg.pl: Fix .msg file
generation to work when srcdir != builddir. Drop the "dontextract"
mechanism which automatically generates headers to allows building a
version with translations for the messages for errors in loading the
messages file, as it doesn't seem worth the effort to get it working
again. It's easy to write such a header by hand if you really want
to do this.

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

  • Property mode set to 100644
File size: 1.1 KB
Line 
1## Process this file with automake to produce Makefile.in
2
3# Makefile for survex support files
4
5check-local:
6        srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files)
7
8SUBDIRS = icons
9
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
13msg_files = $(po_files:.po=.msg) en.msg
14
15EXTRA_DIST = survex.pot $(po_files) codes.po\
16 named-entities.txt po-to-msg.pl checkshortcut.pl\
17 survex.keys.in\
18 English_GB.isl Romanian-7-5.1.11.isl\
19 afm2txf.pl\
20 INSTALL.OSX
21
22MAINTAINERCLEANFILES = $(msg_files) *.todo aven.txf
23
24dist_pkgdata_DATA = print.ini bcra3.svx bcra5.svx $(msg_files) aven.txf
25
26appsdir = $(datadir)/applications
27dist_apps_DATA = survex-aven.desktop survex-svxedit.desktop
28
29$(msg_files): survex.pot $(po_files) po-to-msg.pl
30        LANG=C perl $(srcdir)/po-to-msg.pl $(po_files)
31
32survex.pot: codes.po
33        perl -pe 's/^msgstr ".*/msgstr ""/' codes.po > survex.pot~
34        mv survex.pot~ survex.pot
35
36mimedir = $(datadir)/mime-info
37dist_mime_DATA = survex.mime
38mime_DATA = survex.keys
39
40aven.txf:
41        $(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.