Apropos Makefile: since time immemorial Makefile uses tabs as part of its syntax. Tabs are important to Makefile (at least in *nix, though later GNU additions make this flexible). 8 or 4 spaces will not do. And so, in Discipulus example:
return <<'MAKE_README'; postamble :: $(PERLRUN) -MPod::Text \ -e "Pod::Text->new (sentence => 1, width => 78)->parse_from_file( +qw( $(TO_INST_PM) Readme) );" MAKE_README
In the here-doc, the space before $(PERLRUN) should be a single (real) tab if we want to be portable, I guess.
But in M$-windows system dmake probably made a compromise? Or it's run with special command-line flags? Because I see there are just 4 spaces and not a single tab.
Apropos2: recently there was a discussion about tabs and spaces in code and how editors can transform these. They were not counting die-hard Makefile.
bw, bliako
In reply to Makefile caveat: tabs not spaces
by bliako
in thread let Makefile.PL to do the Readme file for me -- new target?
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |