[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-elitists
Subject:    Re: [linux-elitists] Fun* with inotify and make
From:       Don Marti <dmarti () zgp ! org>
Date:       2013-07-29 17:16:51
Message-ID: 20130729171651.GA30190 () zea ! perforce ! com
[Download RAW message or body]

begin Teh Entar-Nick quotation of Mon, Jul 29, 2013 at 02:09:37PM +0000:
> Don Marti:
> > begin Teh Entar-Nick quotation of Mon, Jul 29, 2013 at 11:04:52AM +0000:
> > >     %.epub: %.md %_cover.jpeg metadata.xml
> > >             pandoc -S --epub-metadata=metadata.xml --epub-cover-image=$*_cover.jpeg -o $@ $<
> > 
> > Strange.  I tried adding a "metadata.xml" prerequisite and got...
> > 
> >     $ make_prereqs all
> >     index.html index.md Makefile metadata.xml templates/default.html 
> 
> Was it an explicit prereq of an implicit rule, as above?

This is what I have...

%.html : %.md templates/default.html metadata.xml
        pandoc \
        --template templates/default.html --to=html5 \
        --smart --standalone --toc \
        -o $@ $<

(Used it to make this...
  http://zgp.org/targeted-advertising-considered-harmful/
...comments welcome.)

-- 
Don Marti                      +1-510-332-1587 (mobile)
http://zgp.org/~dmarti/        Alameda, California, USA
dmarti@zgp.org
_______________________________________________
Do not Cc: anyone else on mail sent to this list.  The list server is set for maximum one recipient.
linux-elitists mailing list
linux-elitists@zgp.org
http://zgp.org/cgi-bin/mailman/listinfo/linux-elitists
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic