source:
git/lib/Makefile.am
@
1aa3fb7
| Last change on this file since 1aa3fb7 was 1aa3fb7, checked in by , 14 years ago | |
|---|---|
|
|
| File size: 1.5 KB | |
| 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 | |
| [49e89e9] | 10 | for po in $(po_files) ; do\ |
| 11 | msgfmt -c --check-accelerators -o /dev/null "$(srcdir)/$$po" || exit 1;\ | |
| 12 | done | |
| [d9b5fc64] | 13 | if cd "$(srcdir)" && grep 'msgstr "[0-9][0-9]*"' $(po_files); then\ |
| [eeb7320] | 14 | echo '.po file with numeric code'; exit 1;\ |
| 15 | fi | |
| [6deca30] | 16 | |
| [b82777e9] | 17 | SUBDIRS = icons |
| 18 | ||
| [d86459c] | 19 | po_files = ca.po de.po de_CH.po de_DE.po en_US.po\ |
| 20 | es.po fr.po it.po pt.po pt_BR.po sk.po ro.po | |
| 21 | ||
| [c584ed2] | 22 | msg_files = $(po_files:.po=.msg) en.msg |
| [8ac4406] | 23 | |
| [a26bab0] | 24 | EXTRA_DIST = survex.pot $(po_files) codes.po\ |
| [d86459c] | 25 | named-entities.txt po-to-msg.pl checkshortcut.pl\ |
| [b4dbba1] | 26 | English_GB.isl Romanian-7-5.1.11.isl\ |
| [1aa3fb7] | 27 | make-pixel-font\ |
| [64d37a3] | 28 | INSTALL.OSX |
| [adaa778] | 29 | |
| [1aa3fb7] | 30 | MAINTAINERCLEANFILES = $(msg_files) *.todo unifont.pixelfont |
| [6cfa0b5] | 31 | |
| [1aa3fb7] | 32 | dist_pkgdata_DATA = print.ini bcra3.svx bcra5.svx $(msg_files) unifont.pixelfont |
| [e72b854] | 33 | |
| 34 | appsdir = $(datadir)/applications | |
| 35 | dist_apps_DATA = survex-aven.desktop survex-svxedit.desktop | |
| [adaa778] | 36 | |
| [c584ed2] | 37 | $(msg_files): survex.pot $(po_files) po-to-msg.pl |
| 38 | LANG=C perl $(srcdir)/po-to-msg.pl $(po_files) | |
| [d86459c] | 39 | |
| 40 | survex.pot: codes.po | |
| 41 | perl -pe 's/^msgstr ".*/msgstr ""/' codes.po > survex.pot~ | |
| 42 | mv survex.pot~ survex.pot | |
| [adaa778] | 43 | |
| [27b8b59] | 44 | mimedir = $(datadir)/mime-info |
| [e72b854] | 45 | dist_mime_DATA = survex.mime |
| 46 | mime_DATA = survex.keys | |
| [bd551c0] | 47 | |
| [1aa3fb7] | 48 | unifont.pixelfont: $(srcdir)/make-pixel-font |
| 49 | $(srcdir)/make-pixel-font |
Note: See TracBrowser
for help on using the repository browser.
