]> git.saurik.com Git - bison.git/blobdiff - doc/local.mk
build: don't rely on $< in non-pattern rules.
[bison.git] / doc / local.mk
index 513e548adb6d09691a1924118e00443bfe9dd408..b859c4b3403c0a1209c2c3ab55ee10d19aeae69a 100644 (file)
@@ -80,9 +80,9 @@ doc/refcard.ps: doc/refcard.dvi
 EXTRA_DIST += $(top_srcdir)/doc/bison.help
 MAINTAINERCLEANFILES += $(top_srcdir)/doc/bison.help
 $(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
-       $(AM_V_GEN)$< --version >doc/bison.help.t
-       $(AM_V_at)$< --help   >>doc/bison.help.t
-       $(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.t $@
+       $(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
+       $(AM_V_at) src/bison$(EXEEXT) --help   >>doc/bison.help.tmp
+       $(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
 
 
 ## ----------- ##