[kbd] [PATCH 2/3] fix loadkeys.analyze lex handling
Mike Frysinger <[email protected]>
| Newsgroups | dev.linux.lists.kbd |
|---|---|
| Message-ID | <[email protected]> |
The loadkeys.analyze.c file is listed in EXTRA_DIST, but the header file is not. So it isn't included in the tarball and regenerated. Further, the automake lex targets have issues with parallel builds, so add a fake dependency target to avoid that. Signed-off-by: Mike Frysinger <[email protected]> --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 0c420d6..4b5012b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,8 +27,8 @@ dist_bin_SCRIPTS = unicode_start unicode_stop bin_PROGRAMS = $(OLDPROGS) $(PROGS) EXTRA_DIST = \ - loadkeys.analyze.c loadkeys.analyze.l wctomb.c totextmode.c \ - README.cad README.init README.openvt \ + loadkeys.analyze.c loadkeys.analyze.h loadkeys.analyze.l wctomb.c \ + totextmode.c README.cad README.init README.openvt \ cad ALL_S = modifiers.h nls.h paths.h version.h kbd.h @@ -72,6 +72,7 @@ AM_YFLAGS = -d AM_LFLAGS = --header-file=$(CURDIR)/loadkeys.analyze.h BUILT_SOURCES = loadkeys.c loadkeys.analyze.c loadkeys.h loadkeys.analyze.h loadkeys_SOURCES = loadkeys.y loadkeys.analyze.l $(GETFD_S) $(KSYMS_S) $(XMAL_S) $(FIND_S) +loadkeys.analyze.h: loadkeys.analyze.c ; @true install-exec-hook: for i in psfaddtable psfgettable psfstriptable; do \ -- 1.7.12.4