Re: Makefiles guidance

2018-06-14 Thread Bob Friesenhahn
On Fri, 15 Jun 2018, Anmol Mishra wrote: Now, in Makefile.am Rules are a bit different than regular makefile? Makefile.am is written in Automake syntax which is transformed using the 'automake' program into a portable make syntax so that any 'make' program should be able to use it. See

Re: Makefiles guidance

2018-06-14 Thread Anmol Mishra
Now, in Makefile.am Rules are a bit different than regular makefile? On Fri, Jun 15, 2018 at 1:11 AM, Bob Friesenhahn < bfrie...@simple.dallas.tx.us> wrote: > On Fri, 15 Jun 2018, Anmol Mishra wrote: > > https://pastebin.com/gDiMCEpC >> >> https://github.com/Shopify/pyoozie/blob/master/Makefile

Re: Makefiles guidance

2018-06-14 Thread Bob Friesenhahn
On Fri, 15 Jun 2018, Anmol Mishra wrote: https://pastebin.com/gDiMCEpC https://github.com/Shopify/pyoozie/blob/master/Makefile What actually is my_cmd.python.2 and my_cmd.python.3 really do. In these, What actually is happening in these lines? 1. python_version_full := $(wordlist

Makefiles guidance

2018-06-14 Thread Anmol Mishra
https://pastebin.com/gDiMCEpC https://github.com/Shopify/pyoozie/blob/master/Makefile What actually is my_cmd.python.2 and my_cmd.python.3 really do. In these, What actually is happening in these lines? 1. python_version_full := $(wordlist 2,4,$(subst ., ,$(shell python --version 2>&1)))

Re: Help for makefiles

2018-06-14 Thread Bob Friesenhahn
On Thu, 14 Jun 2018, Anmol Mishra wrote: I was thinking if I can check for both which version of Python is currently available like 2 or 3, installation proceed with that. PYTHON= python2.6, does this mean that it will be installed with Python 3 as well? Python may be installed several times

Re: Help for makefiles

2018-06-14 Thread Anmol Mishra
I was thinking if I can check for both which version of Python is currently available like 2 or 3, installation proceed with that. PYTHON= python2.6, does this mean that it will be installed with Python 3 as well? On Thu, Jun 14, 2018, 2:54 AM Bob Friesenhahn wrote: > On Thu, 14 Jun 2018, Anmol