-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
Makefile.am
72 lines (62 loc) · 1.77 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
# Makefile.am for Enchant
#
# Copyright (C) 2003 Dom Lachowicz
# 2016-2024 Reuben Thomas
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program; if not, see <https://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-relocatable
SUBDIRS = libgnu lib src providers tests
# Note that the template file is called library.pc.in, but generates a
# versioned .pc file using some magic in AC_CONFIG_FILES.
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = enchant-$(ENCHANT_MAJOR_VERSION).pc
DISTCLEANFILES = $(pkgconfig_DATA)
EXTRA_DIST = \
enchant.pc.in \
HACKING \
COPYING.LIB \
Doxyfile \
doxygen/html \
m4/gnulib-cache.m4
ALL_SOURCE_FILES = \
bootstrap.conf \
configure.ac \
Makefile.am \
libgnu/Makefile.am \
lib/Makefile.am \
lib/*.vala \
src/Makefile.am \
src/*.h \
src/enchant*.vala \
providers/Makefile.am \
providers/*.[ch] \
providers/*.cpp \
providers/*.mm
.PHONY: doxygen
doxygen: Doxyfile
$(DOXYGEN) $(srcdir)/Doxyfile
dist: doxygen
loc:
$(CLOC) $(ALL_SOURCE_FILES)
# Ignore built files that are part of the distribution (specifically,
# doxygen/*).
distcleancheck_listfiles = \
find . -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
sh '{}' ';'
release: distcheck
git checkout doxygen && \
git diff --exit-code && \
git tag -a -m "Release tag" "v$(VERSION)" && \
git push --follow-tags && \
woger github \
github_user=rrthomas \
package=$(PACKAGE) \
version=$(VERSION) \
dist_type=tar.gz