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
|
man_MANS = foxtrotgps.1
nobase_dist_html_DATA = \
foxtrotgps.html \
$(images)
info_TEXINFOS = foxtrotgps.texi
foxtrotgps_TEXINFOS = $(images) $(images_eps)
images = \
foxtrotgps-logo.png \
screenshots/main-window.png \
screenshots/map-download.png \
screenshots/tracking.png \
screenshots/found-route.png \
screenshots/get-route.png \
screenshots/route-planning.png \
cc-by-sa.png cc-by-sa_small.png
cc-by-sa_small.png: cc-by-sa.png
convert $< -scale 88x31 $@
# Some of the TeX-based outputs need images in EPS format:
images_eps = $(patsubst %.png,%.eps,$(images))
.png.eps:
convert $< $@
foxtrotgps-logo.png:
$(LN_S) $(top_srcdir)/pixmaps/foxtrotgps.png $@
$(images): | screenshots
screenshots:
# If this directory doesn't exist, try a checkout of the upstream
# screenshot-archive:
bzr co --lightweight lp:foxtrotgps/screenshots
AM_MAKEINFOHTMLFLAGS = --no-split --no-headers
EXTRA_DIST = foxtrotgps.h2m.in foxtrotgps.1.in
DISTCLEANFILES = foxtrotgps.1
MAINTAINERCLEANFILES = foxtrotgps.1.in $(images_eps)
foxtrotgps.1: foxtrotgps.1.in Makefile
sed -e 's|@htmldir[@]|$(htmldir)|g' $< > $@.tmp
mv $@.tmp $@
foxtrotgps.1.in: $(top_srcdir)/src/main.c $(top_srcdir)/configure.ac foxtrotgps.h2m.in
$(MAKE) -C $(top_builddir)/src foxtrotgps$(EXEEXT)
help2man sh --output=foxtrotgps.1.in \
--help-option="-c \"$(top_builddir)/src/foxtrotgps$(EXEEXT) \
--help | sed -e '1N;2s/\\n//'\"" \
--version-option="-c \"$(top_builddir)/src/foxtrotgps$(EXEEXT)\
--version\"" \
--info-page=foxtrotgps \
--include=$(srcdir)/foxtrotgps.h2m.in
.texi.txt:
$(MAKEINFO) --plaintext --output=$@ $<
|