a handy feature of beamer is to be able to produce slides or a handout. you "just" have to change a line in the source. a known solution is to use 2 different files forthe different options with a common input to the slides, but find this solution non economic.
however, I wished to produce the slides and the handout more naturally using a Makefile.
Is it possible to pass at the command line (for instance to lualatex) an option that can be used by beamer and include that in a Makefile?
modes, andcontexthas a command line option to enable or disable modes. – Aditya Apr 09 '14 at 17:08