-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.am
44 lines (38 loc) · 977 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
40
41
42
43
44
ACLOCAL_AMFLAGS = -I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-relocatable
SUBDIRS = 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 \
README \
HACKING \
NEWS \
ChangeLog \
AUTHORS \
COPYING.LIB \
m4/gnulib-cache.m4
ALL_SOURCE_FILES = \
bootstrap.conf \
configure.ac \
Makefile.am \
src/Makefile.am \
src/*.[chi] \
providers/Makefile.am \
providers/*.[ch] \
providers/*.cpp \
providers/*.mm
loc:
cloc --force-lang="Bourne Shell",conf $(ALL_SOURCE_FILES)
release: distcheck
git diff --exit-code && \
git tag -a -m "Release tag" "v$(VERSION)" && \
git push && git push --tags && \
woger github \
github_user=AbiWord \
package=$(PACKAGE) \
version=$(VERSION) \
dist_type=tar.gz