source:
git/lib/Makefile.am
@
d86459c
Last change on this file since d86459c was d86459c, checked in by , 13 years ago | |
---|---|
|
|
File size: 1.6 KB |
Rev | Line | |
---|---|---|
[adaa778] | 1 | ## Process this file with automake to produce Makefile.in |
2 | ||
3 | # Makefile for survex support files | |
4 | ||
[eb92dcc] | 5 | check-local: |
[be891ea] | 6 | srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files) |
[6deca30] | 7 | |
[b82777e9] | 8 | SUBDIRS = icons |
9 | ||
[d86459c] | 10 | po_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] | 13 | msg_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] | 16 | hdr_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] | 19 | EXTRA_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] | 26 | MAINTAINERCLEANFILES = $(msg_files) $(hdr_files) *.todo aven.txf |
[6cfa0b5] | 27 | |
[e72b854] | 28 | dist_pkgdata_DATA = print.ini bcra3.svx bcra5.svx $(msg_files) aven.txf |
29 | ||
30 | appsdir = $(datadir)/applications | |
31 | dist_apps_DATA = survex-aven.desktop survex-svxedit.desktop | |
[adaa778] | 32 | |
[c8f550b] | 33 | BUILT_SOURCES = defaultlang.h |
34 | ||
[b462168] | 35 | # BUILT_SOURCES are automatically removed by maintainer-clean, but we want it |
36 | # removed by distclean | |
[f893e4e] | 37 | DISTCLEANFILES = 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 | ||
42 | survex.pot: codes.po | |
43 | perl -pe 's/^msgstr ".*/msgstr ""/' codes.po > survex.pot~ | |
44 | mv survex.pot~ survex.pot | |
[adaa778] | 45 | |
[c8f550b] | 46 | defaultlang.h: |
[106af12] | 47 | -rm -f defaultlang.h |
[b462168] | 48 | ln -s $(srcdir)/$(DEFAULTLANG).h defaultlang.h |
[c8f550b] | 49 | |
[27b8b59] | 50 | mimedir = $(datadir)/mime-info |
[e72b854] | 51 | dist_mime_DATA = survex.mime |
52 | mime_DATA = survex.keys | |
[bd551c0] | 53 | |
54 | aven.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.