forked from legionus/kbd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
42 lines (32 loc) · 985 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
CODE_COVERAGE_DIRECTORY = $(top_builddir)/src $(top_builddir)/tests
CODE_COVERAGE_OUTPUT_FILE = coverage.info
CODE_COVERAGE_OUTPUT_DIRECTORY = coverage
include $(top_srcdir)/aminclude_static.am
AM_DISTCHECK_CONFIGURE_FLAGS = \
--disable-code-coverage \
--enable-libkeymap \
--enable-optional-progs \
${DISTCHECK_CONFIGURE_EXTRA_FLAGS}
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
CREDITS \
contrib docs rc
SUBDIRS = src data po docs
if BUILD_TESTS
SUBDIRS += tests
endif
kbd-$(VERSION).tar.xz:
make distcheck
kbd-$(VERSION).tar.sign:
xz -d -c kbd-$(VERSION).tar.xz | \
gpg --armor --detach-sign \
--default-key $(GPG_KEY) \
--output kbd-$(VERSION).tar.sign
tar: kbd-$(VERSION).tar.xz kbd-$(VERSION).tar.sign
tar-sync: kbd-$(VERSION).tar.xz kbd-$(VERSION).tar.sign
kup put \
kbd-$(VERSION).tar.xz \
kbd-$(VERSION).tar.sign \
/pub/linux/utils/kbd/
clean-local: code-coverage-clean
dist-clean-local: code-coverage-dist-clean