forked from Xastir/Xastir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
103 lines (76 loc) · 3.28 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
#
# Copyright (C) 2000-2019 The Xastir Group
#
AUTOMAKE_OPTIONS = gnu dist-bzip2
ACLOCAL_AMFLAGS = -I m4
D= `date +%G%m%d.%H%M%S`
SUBDIRS = src config help scripts symbols callpass
# DISTCLEANFILES =
EXTRA_DIST = xastir.spec.in xastir.spec xastir-min.spec.in xastir-min.spec config.guess config.sub install-sh \
missing placeholder FAQ LICENSE README README.GIT \
README.CYGWIN README.Getting-Started CONTRIBUTING.md \
README.MAPS 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 USTigermap.geo USTigermapBorders.geo
nationalmapdir=${pkgdatadir}/maps/Online/nationalmap.gov
nationalmap_DATA=WMS_USGS_Hydrography.geo WMS_USGS_ImageryOnly.geo \
WMS_USGS_ImageryTopo.geo WMS_USGS_ShadedReliefOnly.geo \
WMS_USGS_Topo.geo
geogratismapdir=${pkgdatadir}/maps/Online/geogratis.gc.ca
geogratismap_DATA=National.geo Regional.geo Sub_national.geo Sub_regional.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.sudo COPYING INSTALL UPGRADE \
README.Getting-Started README.OSM_maps CONTRIBUTING.md \
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 >$@
ChangeLog::