From: Will Estes Date: Fri, 28 Feb 2003 14:23:44 +0000 (+0000) Subject: build on . in top level first; this will simplify calling help2man X-Git-Tag: flex-2-5-29~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06d0394e3f3532fcd8317428f4c6a6da27205a22;p=flex build on . in top level first; this will simplify calling help2man --- diff --git a/Makefile.am b/Makefile.am index aaefa24..abe912e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -130,6 +130,7 @@ BUILT_SOURCES = \ skel.c SUBDIRS = \ + . \ doc \ m4 \ examples \ diff --git a/doc/Makefile.am b/doc/Makefile.am index a15ec54..7a9a3bf 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -12,10 +12,7 @@ EXTRA_DIST = \ $(man_MANS) if MAINTAINER_MODE -../flex: - cd .. && $(MAKE) flex - -$(man_MANS): $(top_srcdir)/main.c ../flex +$(man_MANS): $(top_srcdir)/main.c for i in $(man_MANS) ; do \ $(help2man) --name='fast lexical analyzer generator' --section=`echo $$i|rev|cut -f 1 -d .|rev` ../flex > $$i ; \ done