]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix an error causing scanner.h to not be generated 360/head
authorDaniel Miller <[email protected]>
Fri, 6 Jun 2014 01:29:04 +0000 (01:29 +0000)
committerDaniel Miller <[email protected]>
Fri, 6 Jun 2014 01:29:04 +0000 (01:29 +0000)
Makefile.in

index ea5059e17bcaab29b53592a752af9c19d7e297a6..f5117c28483b5e05518a5c0b0a4923e3b8cd936f 100644 (file)
@@ -444,7 +444,8 @@ libpcap.none:
 
 scanner.c: $(srcdir)/scanner.l
        @rm -f $@ [email protected]
-       $(srcdir)/runlex.sh $(LEX) [email protected] $<
+       $(srcdir)/runlex.sh $(LEX) -o$@ $<
+       mv $@ [email protected]
        cat [email protected] [email protected] > $@
 
 scanner.o: scanner.c tokdefs.h