forked from solbu/hldig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
76 lines (61 loc) · 1.97 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
# Main Makefile for hl://Dig
# Copyright (c) 2017 The hl://Dig Group <https://solbu.github.io/hldig/>
# For copyright details, see the file COPYING in your distribution
# or the GNU Library General Public License version 2 or later
# <http://www.gnu.org/copyleft/lgpl.html>
include $(top_srcdir)/Makefile.config
if TESTS
TESTDIR = test
endif
# process the Makefile.am files in these directories. the po directory
# is a little # different because of a rule near the end of configure.ac
SUBDIRS = db hllib hlword hlcommon hlnet hlfuzzy hldb hldig hlsearch \
hltools installdir include $(TESTDIR) po
# files to be installed to destination docdir when 'make install' is run
# packextrasdir=@docdir@
EXTRA_DIST = \
VERSION \
COPYING \
INSTALL \
README.md \
AUTHORS.md \
TESTING.md \
CONTRIBUTING.md \
TRANSLATING.md \
ChangeLog \
STATUS \
CODE_OF_CONDUCT.md \
ABOUT-NLS
# packextras_DATA=$(EXTRA_DIST)
# This only install the html and gif files, but not the assets (css and images)
# in the docs directory
# packextraswebsitedir=@docdir@/docs
# WEBSITE = \
# docs/*.html \
# docs/*.gif
# packextraswebsite_DATA=$(WEBSITE)
ACLOCAL_AMFLAGS = -I m4
#
# If --enable-tests is not specified, should remove
# the test/Makefile anyway
#
distclean-local:
if test "X$(TESTDIR)" = "Xtest" ; \
then \
rm -f test/Makefile test/test_functions ; \
fi
install-data-hook:
@echo ""
@echo "Installation done."
@echo ""
@echo "Before you can start searching, you will need to create a"
@echo "search database. A sample script to do this has been"
@echo "installed as " $(DESTDIR)$(bindir)/rundig
@echo ""
@echo "To uninstall hldig, use 'make uninstall' (must be run before 'make distclean')"
@echo "To remove build files, use 'make distclean'"
distdir = $(PACKAGE)-$(VERSION)
# While we wait for the «make dist» to work properly,
# have a shortcut to create tarball from the local git repo
release:
git archive --format=tar.gz -o $(PACKAGE)-$(VERSION).tar.gz --prefix=$(PACKAGE)-$(VERSION)/ HEAD