aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-10 16:47:11 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-10 16:47:11 +0300
commitb06fb7d30415eec1d2efb39286ab96070c724fd4 (patch)
tree1c54b5707600d03d243c1e5c8a81a759345296d0 /Makefile.am
parentbabd5c07d02cd240c8d0e01bdf2edfbef0c5774e (diff)
downloadgrecs-b06fb7d30415eec1d2efb39286ab96070c724fd4.tar.gz
grecs-b06fb7d30415eec1d2efb39286ab96070c724fd4.tar.bz2
Distribute only needed parts of wordsplit
* Makefile.am (WORDSPLIT_SRC) (WORDSPLIT_TEST,WORDSPLIT_DOC): New variables. (EXTRA_DIST): Add WORDSPLIT_SRC (unconditionally) and @GRECS_EXTRA_DIST@ (gets set depending on whether docs and testsuite is required). * am/grecs.m4: Set GRECS_EXTRA_DIST to $(WORDSPLIT_TEST) if testsuite is required. Append to it $(WORDSPLIT_DOC) if documentation is required as well.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b8482a1..38c8782 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,9 +16,14 @@
ACLOCAL_AMFLAGS = -I am
SUBDIRS=. include src @GRECS_TESTDIR@ @GRECS_DOCDIR@
+
+# Wordsplit components.
+WORDSPLIT_SRC = wordsplit/wordsplit.c wordsplit/wordsplit.h
+WORDSPLIT_TEST = wordsplit/wordsplit.at wordsplit/wsp.c
+WORDSPLIT_DOC = wordsplit/wordsplit.3
+
EXTRA_DIST=build-aux/yyrename @GRECS_BUILD_AUX@ @GRECS_DISTDOC@ gitid.h\
- wordsplit/wordsplit.c wordsplit/wordsplit.h wordsplit/wordsplit.3 \
- wordsplit/wordsplit.at wordsplit/wsp.c
+ $(WORDSPLIT_SRC) @GRECS_EXTRA_DIST@
noinst_HEADERS = gitid.h
BUILT_SOURCES = gitid.h README

Return to:

Send suggestions and report system problems to the System administrator.