forked from maxmind/libmaxminddb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
39 lines (27 loc) · 953 Bytes
/
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
include_HEADERS = include/maxminddb.h src/maxminddb-compat-util.h
include_execdir = $(exec_prefix)/include
nodist_include_exec_HEADERS = include/maxminddb_config.h
SUBDIRS = \
src \
bin \
t
EXTRA_DIST = doc t Changes.md LICENSE NOTICE README.md
dist-hook:
dev-bin/make-man-pages.pl $(distdir)
find $(distdir) -name '.git*' | xargs rm -fr
safedist: dist
tmpdir="$${TMPDIR-/tmp}/safedist-$$$$" \
&& mkdir "$$tmpdir" \
&& tar -xvf $(distdir).tar.gz --directory "$$tmpdir" \
&& $(am__cd) "$$tmpdir/$(distdir)" \
&& ./configure \
&& make -j 4 check
man1_MANS = man/man1/*.1
man3_MANS = man/man3/*.3
man/man1/*.1:
if [ ! -f man/man1/mmdblookup.1 ]; then mkdir -p man/man1 && touch man/man1/mmdblookup.1; fi
man/man3/*.3:
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
release:
dev-bin/make-release.sh $(PACKAGE_VERSION)
.PHONY: man/man1/*.1 man/man3/*.3 release