3

Replace one line with STDIN in a Makefile

view full story
linux-howto

http://unix.stackexchange.com – One Makefile target is supposed to be in charge of: grabbing the output of $ perl Markdown.pl src/index.md (markdown to html) using that string to replace one line, something like CONTENT originating in the file src/template.html. There's no other line with that row in template.html. What's an elegant way to achieve this? (HowTos)