Repository navigation
Expand file tree
/
Copy pathMakefile.am
More file actions
52 lines (41 loc) · 1.69 KB
/
Copy pathMakefile.am
File metadata and controls
52 lines (41 loc) · 1.69 KB
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
## Process this file with automake to produce Makefile.in
SUBDIRS = src examples docs
# website/ is GitHub Pages (Jekyll). Not in SUBDIRS or EXTRA_DIST so
# release tarballs stay the library (src, examples, gtk-doc).
AM_DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--enable-glade-catalog
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
doc_DATA = \
README \
COPYING \
AUTHORS \
ChangeLog \
NEWS
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = osmgpsmap-1.0.pc
if ENABLE_GLADE_CATALOG
gladecatalog_DATA = osmgpsmap.xml
endif
# tests/test.py and osmgpsmap.xml ship in the tarball even if not installed.
EXTRA_DIST = tests/test.py osmgpsmap.xml
DISTCLEANFILES = gtk-doc.make
# Drop generated ChangeLog on VPATH distclean only.
distclean-local:
if test "$(srcdir)" = "."; then :; else \
rm -f ChangeLog; \
fi
# Build ChangeLog from full git history for dist. NEWS is the curated release notes.
ChangeLog:
$(AM_V_GEN)if test -d "$(top_srcdir)/.git"; then \
(cd "$(top_srcdir)" && git log --stat -M -C --name-status --date=short --no-color) > $@.tmp \
&& mv -f $@.tmp $@ \
|| ($(RM) $@.tmp; \
echo "Failed to generate ChangeLog, your ChangeLog may be outdated" >&2; \
(test -f $@ || echo "git-log is required to generate this file" >> $@)); \
else \
test -f $@ || \
(echo "A git checkout and git-log is required to generate ChangeLog" >&2 && \
echo "A git checkout and git-log is required to generate this file" >> $@); \
fi
.PHONY: ChangeLog