haskell / alex

A lexical analyser generator for Haskell
https://hackage.haskell.org/package/alex
BSD 3-Clause "New" or "Revised" License
298 stars 82 forks source link

Broken Makefiles #9

Closed SamB closed 12 years ago

SamB commented 12 years ago

I've noticed that examples/Makefile and templates/Makefile no longer work:

naesten@hydrogen:~/hacking/haskell/alex% make -C examples
make: Entering directory `/home/naesten/hacking/haskell/alex/examples'
Makefile:2: ../mk/boilerplate.mk: No such file or directory
Makefile:31: ../mk/target.mk: No such file or directory
make: *** No rule to make target `../mk/target.mk'.  Stop.
make: Leaving directory `/home/naesten/hacking/haskell/alex/examples'
naesten@hydrogen:~/hacking/haskell/alex% make -C templates
make: Entering directory `/home/naesten/hacking/haskell/alex/templates'
Makefile:2: ../mk/boilerplate.mk: No such file or directory
Makefile:67: ../mk/target.mk: No such file or directory
make: *** No rule to make target `../mk/target.mk'.  Stop.
make: Leaving directory `/home/naesten/hacking/haskell/alex/templates'

You should probably just drop templates/Makefile, since it seems to have been replaced by some code in Setup.lhs anyway, but examples/Makefile should probably be fixed, for lack of any other obvious way to build the examples...

simonmar commented 12 years ago

Fixed in 279f04ba2a42be5c38726c3b1d6f44df2a8f0493