]> granicus.if.org Git - flex/commitdiff
help2man should look in builddir for the flex binary
authorWill Estes <wlestes@users.sourceforge.net>
Tue, 6 Aug 2002 13:05:19 +0000 (13:05 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Tue, 6 Aug 2002 13:05:19 +0000 (13:05 +0000)
Makefile.am

index a77bf947870cf3783a74a3300f9176261e46328b..8ce8fbf6b5afc5a925ef84accf71c096c52b41f2 100644 (file)
@@ -128,7 +128,7 @@ skel.c: flex.skl mkskel.sh
 
 $(man_MANS): $(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 ; \
+       $(help2man) --name='fast lexical analyzer generator' --section=`echo $$i|rev|cut -f 1 -d .|rev` $(builddir)/flex > $$i ; \
        done
 
 main.o: main.c flexdef.h config.h version.h