source: git/lib/Makefile.am @ c584ed2

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since c584ed2 was c584ed2, checked in by Olly Betts <olly@…>, 14 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
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
[c584ed2]13msg_files = $(po_files:.po=.msg) en.msg
[8ac4406]14
[a26bab0]15EXTRA_DIST = survex.pot $(po_files) codes.po\
[d86459c]16 named-entities.txt po-to-msg.pl checkshortcut.pl\
[c584ed2]17 survex.keys.in\
[b4dbba1]18 English_GB.isl Romanian-7-5.1.11.isl\
[d133b65]19 afm2txf.pl\
[64d37a3]20 INSTALL.OSX
[adaa778]21
[c584ed2]22MAINTAINERCLEANFILES = $(msg_files) *.todo aven.txf
[6cfa0b5]23
[e72b854]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
[adaa778]28
[c584ed2]29$(msg_files): survex.pot $(po_files) po-to-msg.pl
30        LANG=C perl $(srcdir)/po-to-msg.pl $(po_files)
[d86459c]31
32survex.pot: codes.po
33        perl -pe 's/^msgstr ".*/msgstr ""/' codes.po > survex.pot~
34        mv survex.pot~ survex.pot
[adaa778]35
[27b8b59]36mimedir = $(datadir)/mime-info
[e72b854]37dist_mime_DATA = survex.mime
38mime_DATA = survex.keys
[bd551c0]39
40aven.txf:
[d133b65]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.