| 1 | ## Process this file with automake to produce Makefile.in | 
|---|
| 2 |  | 
|---|
| 3 | # Makefile for survex support files | 
|---|
| 4 |  | 
|---|
| 5 | check-local: | 
|---|
| 6 |         srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files) | 
|---|
| 7 |  | 
|---|
| 8 | SUBDIRS = icons | 
|---|
| 9 |  | 
|---|
| 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 |  | 
|---|
| 13 | msg_files = ca.msg de.msg de_CH.msg de_DE.msg en.msg en_US.msg\ | 
|---|
| 14 |  es.msg fr.msg it.msg pt.msg pt_BR.msg sk.msg ro.msg | 
|---|
| 15 |  | 
|---|
| 16 | hdr_files = ca.h de.h de_CH.h de_DE.h en.h en_US.h\ | 
|---|
| 17 |  es.h fr.h it.h pt.h pt_BR.h sk.h ro.h | 
|---|
| 18 |  | 
|---|
| 19 | EXTRA_DIST = survex.pot $(po_files) codes.po\ | 
|---|
| 20 |  named-entities.txt po-to-msg.pl checkshortcut.pl\ | 
|---|
| 21 |  $(hdr_files) survex.keys.in\ | 
|---|
| 22 |  English_GB.isl Romanian-7-5.1.11.isl\ | 
|---|
| 23 |  afm2txf.pl\ | 
|---|
| 24 |  INSTALL.OSX | 
|---|
| 25 |  | 
|---|
| 26 | MAINTAINERCLEANFILES = $(msg_files) $(hdr_files) *.todo aven.txf | 
|---|
| 27 |  | 
|---|
| 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 | 
|---|
| 32 |  | 
|---|
| 33 | BUILT_SOURCES = defaultlang.h | 
|---|
| 34 |  | 
|---|
| 35 | # BUILT_SOURCES are automatically removed by maintainer-clean, but we want it | 
|---|
| 36 | # removed by distclean | 
|---|
| 37 | DISTCLEANFILES = defaultlang.h | 
|---|
| 38 |  | 
|---|
| 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 | 
|---|
| 45 |  | 
|---|
| 46 | defaultlang.h: | 
|---|
| 47 |         -rm -f defaultlang.h | 
|---|
| 48 |         ln -s $(srcdir)/$(DEFAULTLANG).h defaultlang.h | 
|---|
| 49 |  | 
|---|
| 50 | mimedir = $(datadir)/mime-info | 
|---|
| 51 | dist_mime_DATA = survex.mime | 
|---|
| 52 | mime_DATA = survex.keys | 
|---|
| 53 |  | 
|---|
| 54 | aven.txf: | 
|---|
| 55 |         $(srcdir)/afm2txf.pl -o aven.txf /usr/share/texmf-texlive/fonts/afm/urw/helvetic/uhvr8a.afm | 
|---|