Re: Checking file generation for a test script

2017-06-20 Thread SF Markus Elfring
>> My pattern example does not work with the current make software in the >> way I hoped would be occasionally convenient. > > No it does not. Did you read my entire previous answer? Yes. - I replied to it twice with different information. Regards, Markus

Re: Checking file generation for a test script

2017-06-19 Thread Henrik Carlqvist
On Mon, 19 Jun 2017 13:20:23 +0200 SF Markus Elfring wrote: > > It would have been generated if you would have called make with a > > command like: > > elfring@Sonne:~/Projekte/Bau> LANG=C make --no-builtin-rules -f > ../rule-check2.make MOTD.log make: *** No rule

Re: Checking file generation for a test script

2017-06-19 Thread SF Markus Elfring
> It would have been generated if you would have called make with a command > like: elfring@Sonne:~/Projekte/Bau> LANG=C make --no-builtin-rules -f ../rule-check2.make MOTD.log make: *** No rule to make target 'MOTD.log'. Stop. > LANG=C make --no-builtin-rules -f ../rule-check2.make MOTD.log

Re: Checking file generation for a test script

2017-06-18 Thread Paul Smith
On Sun, 2017-06-18 at 17:14 +0200, SF Markus Elfring wrote: > > It would have been generated if you would have called make with a > > command like: > > LANG=C make --no-builtin-rules -f ../rule-check2.make MOTD.log > > I hoped that I do not need to specify another file name for such command >

Re: Checking file generation for a test script

2017-06-18 Thread SF Markus Elfring
> It would have been generated if you would have called make with a > command like: > LANG=C make --no-builtin-rules -f ../rule-check2.make MOTD.log I hoped that I do not need to specify another file name for such command variant just to test a special default setting. > and if you had a rule

Re: Checking file generation for a test script

2017-06-18 Thread Henrik Carlqvist
On Sun, 18 Jun 2017 13:03:10 +0200 SF Markus Elfring wrote: > I have tried the following small script out together with the program > “GNU Make 4.2.1-1.7” on my openSUSE Tumbleweed system. That "script" seems like a makefile to me. > my_compilation?=echo >

Checking file generation for a test script

2017-06-18 Thread SF Markus Elfring
Hello, I have tried the following small script out together with the program “GNU Make 4.2.1-1.7” on my openSUSE Tumbleweed system. my_compilation?=echo my_preparation?=cat footer?=MOTD.txt prepared_file?=MOTD.in MOTD%.log: MOTD%.txt MOTD%.in ${my_compilation} "$<: $$(cat