source: git/lib/Makefile.am @ e72b854

add-show-splaysline_contentsproj-api-updatestereosvn/github/mastersvn/origin/mastersvn/survex-1_1svn/tags/1.1.14svn/tags/1.1.15svn/tags/1.1.16svn/tags/1.2.0svn/tags/1.2.1svn/tags/1.2.2svn/tags/1.2.3svn/tags/1.2.4svn/tags/1.2.5svn/tags/v1_1_10svn/tags/v1_1_11svn/tags/v1_1_12svn/tags/v1_1_13svn/tags/v1_1_9svn/trunk
Last change on this file since e72b854 was e72b854, checked in by Olly Betts <olly@…>, 16 years ago

Install .desktop files to PREFIX/share/applications and png files to
PREFIX/share/pixmaps.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3250 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.6 KB
Line 
1## Process this file with automake to produce Makefile.in
2
3# Makefile for survex support files
4
5check-local:
6        srcdir=$(srcdir) LANG=C perl $(srcdir)/checkshortcut.pl $(msg_files)
7
8SUBDIRS = icons
9
10msg_files = ca.msg de.msg de_CH.msg de_DE.msg en.msg en_US.msg\
11 es.msg fr.msg it.msg pt.msg pt_BR.msg sk.msg ro.msg zh.msg
12
13hdr_files = ca.h de.h de_CH.h de_DE.h en.h en_US.h\
14 es.h fr.h it.h pt.h pt_BR.h sk.h ro.h zh.h
15
16EXTRA_DIST = messages.txt\
17 named-entities.txt makemsgs.pl checkshortcut.pl\
18 $(hdr_files) survex.keys.in\
19 gentexfont.c TexFont.h\
20 INSTALL.OSX
21
22MAINTAINERCLEANFILES = $(msg_files) $(hdr_files) *.todo aven.txf
23
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
28
29BUILT_SOURCES = defaultlang.h
30
31# BUILT_SOURCES are automatically removed by maintainer-clean, but we want it
32# removed by distclean
33DISTCLEANFILES = defaultlang.h
34
35$(msg_files) $(hdr_files): messages.txt makemsgs.pl
36        srcdir=$(srcdir) LANG=C perl $(srcdir)/makemsgs.pl $(srcdir)/messages.txt
37
38defaultlang.h:
39        -rm -f defaultlang.h
40        ln -s $(srcdir)/$(DEFAULTLANG).h defaultlang.h
41
42mimedir = $(datadir)/mime-info
43dist_mime_DATA = survex.mime
44mime_DATA = survex.keys
45
46aven.txf:
47        $(MAKE) gentexfont$(EXEEXT)
48        ./gentexfont$(EXEEXT) -w 128 -h 128 -glist `perl -e 'for (33..126,160..255) {print chr $$_}'` -fn -misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-1 -file aven.txf
49
50gentexfont$(EXEEXT): gentexfont.c TexFont.h
51        $(CC) -o gentexfont$(EXEEXT) gentexfont.c @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
Note: See TracBrowser for help on using the repository browser.