forked from Xastir/Xastir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
110 lines (83 loc) · 3.61 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# $Id: $
#
# Copyright (C) 2000-2016 The Xastir Group
#
AUTOMAKE_OPTIONS = gnu dist-bzip2
ACLOCAL_AMFLAGS = -I m4
D= `date +%G%m%d.%H%M%S`
SUBDIRS = src m4 config help scripts symbols callpass
# Remove this file here (it is created via configure), not from within intl.
# DISTCLEANFILES = intl/libintl.h
EXTRA_DIST = xastir.spec.in xastir.spec xastir-min.spec.in xastir-min.spec config.guess config.sub install-sh \
missing mkinstalldirs placeholder FAQ LICENSE README README.GIT \
README.CYGWIN README.Getting-Started README.Contributing \
README.MAPS README.win32 README.OSM_maps README.sudo testdbfawk.1 \
DEBUG_LEVELS bootstrap.sh INSTALL UPGRADE callpass.1 xastir.1 xastir_udp_client.1 \
worldhi.map \
Davis LaCrosse \
OSM_template \
CC_OpenStreetMap_logo.png CC_OpenStreetMap_txt.png \
COPYING COPYING.LIB.LESSTIF AUTHORS
MAINTAINERCLEANFILES = configure aclocal.m4 Makefile.in Makefile \
config.guess config.sub install-sh missing mkinstalldirs \
xastir.spec xastir-min.spec
countydir=${pkgdatadir}/Counties
county_DATA=placeholder
fccdir=${pkgdatadir}/fcc
fcc_DATA=placeholder
gnisdir=${pkgdatadir}/GNIS
gnis_DATA=placeholder
mapdir=${pkgdatadir}/maps
map_DATA=worldhi.map CC_OpenStreetMap_logo.png CC_OpenStreetMap_txt.png
onlinedir=${pkgdatadir}/maps/Online
online_DATA=OSM_tiled_cycle.geo OSM_tiled_mapnik.geo \
OSM_tiled_fosm.geo OSM_tiled_mapquest.geo \
OSM_tiled_mapquest-aerial.geo
gpsdir=${pkgdatadir}/maps/GPS
gps_DATA=placeholder
sounddir=${pkgdatadir}/sounds
sound_DATA=placeholder
docdir=${prefix}/share/doc/xastir
doc_DATA=AUTHORS FAQ ChangeLog LICENSE README README.GIT README.CYGWIN \
README.MAPS README.win32 README.sudo COPYING INSTALL UPGRADE \
README.Getting-Started README.Contributing README.OSM_maps\
COPYING.LIB.LESSTIF
# It'd be nice to remove the directory and contents at
# "${pkgdatadir}/doc" then install a symlink called "doc" there pointing
# to "${prefix}/share/doc/xastir/". The new location for the
# documentation is FHS compliant.
install-exec-hook:
-rm -rf $(DESTDIR)${pkgdatadir}/doc
install-data-hook:
cd $(DESTDIR)$(mapdir) && \
rm -f CC_OpenStreetMap.png && \
$(LN_S) CC_OpenStreetMap_logo.png CC_OpenStreetMap.png
mandir=${prefix}/share/man
man_MANS=xastir.1 callpass.1 xastir_udp_client.1 testdbfawk.1
# Use tiles for these maps
OSM_tiled_cycle.geo: OSM_template
sed -e '/THIS IS A TEMPLATE FILE/d' -e's/^#OSM_TILED_MAP/OSM_TILED_MAP/' \
-e's!^#URL tileURL!URL http://tile.opencyclemap.org/cycle/!' \
-e 's/-STYLE/-cycle/' \
< $(top_srcdir)/OSM_template >$@
OSM_tiled_mapnik.geo: OSM_template
sed -e '/THIS IS A TEMPLATE FILE/d' -e's/^#OSM_TILED_MAP/OSM_TILED_MAP/' \
-e's!^#URL tileURL!URL http://tile.openstreetmap.org/!' \
-e 's/-STYLE/-mapnik/' \
< $(top_srcdir)/OSM_template >$@
OSM_tiled_fosm.geo: OSM_template
sed -e '/THIS IS A TEMPLATE FILE/d' -e's/^#OSM_TILED_MAP/OSM_TILED_MAP/' \
-e's!^#URL tileURL!URL http://map.fosm.org/default/!' \
-e 's/-STYLE/-fosm/' \
< $(top_srcdir)/OSM_template >$@
OSM_tiled_mapquest.geo: OSM_template
sed -e '/THIS IS A TEMPLATE FILE/d' -e's/^#OSM_TILED_MAP/OSM_TILED_MAP/' \
-e's!^#URL tileURL!URL http://otile3.mqcdn.com/tiles/1.0.0/osm/!' \
-e 's/-STYLE/-mapquest/' \
< $(top_srcdir)/OSM_template >$@
OSM_tiled_mapquest-aerial.geo: OSM_template
sed -e '/THIS IS A TEMPLATE FILE/d' -e's/^#OSM_TILED_MAP/OSM_TILED_MAP/' \
-e's!^#URL tileURL!URL http://otile3.mqcdn.com/tiles/1.0.0/sat/!' \
-e 's/-STYLE/-mapquest-aerial/' \
< $(top_srcdir)/OSM_template >$@
ChangeLog::