Oliver,

On Friday, 2016-04-22 19:07:33 +0200, you wrote:

> ...
> Yes, that is what I intend to do. But for that I need the HTML files and the 
> images in one folder. That is why I would like to pass a parameter to make 
> defining an output path. Like
> 
> make outpath=../foo/bar

As I see it, the  purpose of a makefile  is to describe how files within
the directory containing the makefile are created or updated.  Though at
least GNU Make 4.1 accepts targets  outside the current directory.  How-
ever, I really don't know whether or not all brands  of "make" are doing
so.

But for your purpose you really don't need a makefile at all.   You just
need to tell "cmake"  to fetch all source "*.md" files,  compare each to
its corresponding target "*.html" file, and to run the command

   HtmlMake.py "source.md" > "target.html"

if the target file does not yet exist or is older than its source file.

Sincerely,
  Rainer

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to