RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Rev | Line | |
---|
[adaa778] | 1 | ## Process this file with automake to produce Makefile.in |
---|
| 2 | |
---|
| 3 | # Makefile for survex support files |
---|
| 4 | |
---|
[4183e91] | 5 | check-local: survex.pot |
---|
[be891ea] | 6 | srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files) |
---|
[1b1aaf4] | 7 | if grep ^msgstr $(srcdir)/codes.po|sort|uniq -c|grep -v '^ *1 '; then\ |
---|
| 8 | echo 'Duplicate message code(s) in codes.po'; exit 1;\ |
---|
| 9 | fi |
---|
[4183e91] | 10 | for po in $(po_files) ; do msgfmt -c --check-accelerators "$$po" || exit 1; done |
---|
[eeb7320] | 11 | if grep 'msgstr "[0-9][0-9]*"' $(po_files); then\ |
---|
| 12 | echo '.po file with numeric code'; exit 1;\ |
---|
| 13 | fi |
---|
[6deca30] | 14 | |
---|
[b82777e9] | 15 | SUBDIRS = icons |
---|
| 16 | |
---|
[d86459c] | 17 | po_files = ca.po de.po de_CH.po de_DE.po en_US.po\ |
---|
| 18 | es.po fr.po it.po pt.po pt_BR.po sk.po ro.po |
---|
| 19 | |
---|
[c584ed2] | 20 | msg_files = $(po_files:.po=.msg) en.msg |
---|
[8ac4406] | 21 | |
---|
[a26bab0] | 22 | EXTRA_DIST = survex.pot $(po_files) codes.po\ |
---|
[d86459c] | 23 | named-entities.txt po-to-msg.pl checkshortcut.pl\ |
---|
[b4dbba1] | 24 | English_GB.isl Romanian-7-5.1.11.isl\ |
---|
[d133b65] | 25 | afm2txf.pl\ |
---|
[64d37a3] | 26 | INSTALL.OSX |
---|
[adaa778] | 27 | |
---|
[c584ed2] | 28 | MAINTAINERCLEANFILES = $(msg_files) *.todo aven.txf |
---|
[6cfa0b5] | 29 | |
---|
[e72b854] | 30 | dist_pkgdata_DATA = print.ini bcra3.svx bcra5.svx $(msg_files) aven.txf |
---|
| 31 | |
---|
| 32 | appsdir = $(datadir)/applications |
---|
| 33 | dist_apps_DATA = survex-aven.desktop survex-svxedit.desktop |
---|
[adaa778] | 34 | |
---|
[c584ed2] | 35 | $(msg_files): survex.pot $(po_files) po-to-msg.pl |
---|
| 36 | LANG=C perl $(srcdir)/po-to-msg.pl $(po_files) |
---|
[d86459c] | 37 | |
---|
| 38 | survex.pot: codes.po |
---|
| 39 | perl -pe 's/^msgstr ".*/msgstr ""/' codes.po > survex.pot~ |
---|
| 40 | mv survex.pot~ survex.pot |
---|
[adaa778] | 41 | |
---|
[27b8b59] | 42 | mimedir = $(datadir)/mime-info |
---|
[e72b854] | 43 | dist_mime_DATA = survex.mime |
---|
| 44 | mime_DATA = survex.keys |
---|
[bd551c0] | 45 | |
---|
| 46 | aven.txf: |
---|
[d133b65] | 47 | $(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.