From 4db9c203f63f325994c8e199ed0b7beed043f448 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 31 Mar 2016 11:19:20 -0400 Subject: [PATCH] fix skel.c dependency (missing tables_shared.c) and polish build rule Also remove references to srcdir since skel.c is no longer mentioned in po/POTFILES.in. --- src/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 82e8f4e..815f244 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -80,15 +80,15 @@ DISTCLEANFILES = stage1scan.c MAINTAINERCLEANFILES = skel.c -$(srcdir)/skel.c: flex.skl mkskel.sh flexint.h tables_shared.h - sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g' $(srcdir)/flex.skl | \ +skel.c: flex.skl mkskel.sh flexint.h tables_shared.h tables_shared.c + sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g' $< | \ $(m4) -P -I $(srcdir) \ -DFLEX_MAJOR_VERSION=` echo $(VERSION)|cut -f 1 -d .` \ -DFLEX_MINOR_VERSION=` echo $(VERSION)|cut -f 2 -d .` \ -DFLEX_SUBMINOR_VERSION=`echo $(VERSION)|cut -f 3 -d .` | \ sed 's/m4postproc_/m4_/g' | \ - $(SHELL) $(srcdir)/mkskel.sh >skel.c.tmp - mv skel.c.tmp $(srcdir)/skel.c + $(SHELL) $(srcdir)/mkskel.sh > $@.tmp + mv $@.tmp $@ stage1scan.c: scan.l stage1flex$(EXEEXT) ./stage1flex$(EXEEXT) -o $@ $< -- 2.40.0