1 Jul 2004 12:14
Re: Learning and using aap in website project
Fredrik wrote: > > It's not so obvious. Aap finds the rule to turn a .asc file into a > > .html file, but a rule does not specify where to search for the source > > file. It simply uses the name of the file with the path for the %. > > > > The most explicit solution is to adjust the rule to include the path: > > > > :rule ../html/%.html : %.asc conf/asciidoc.conf > > ... > > Thanx! That solved it! > > I still cannot figure out how to solve the "articles" part (subdir). > > In the "source" dir I have another dir called "articles" where I put submitted > articles also written in AsciiDoc but in this dir the conf/asciidoc.conf is > diffrent than in the the source dir so I can't have these files in the > "source" dir. I have tried a lot of combinations with ":child > source/articles/main.aap" and changed the "ROOT" variable in the filelist to > "ARTICLES" but I get an message about that source/articles/main.aap doesent > know how to build "about.asc" which is a file in "source" not in "articles". > Even after I have changed the the "HTML_FILES" variable to "ARTICLES" wich is > a variable in the "filelist.aap". ( I hope you understand what I mean). > > Here is an exact description of what I want to do :) > > / > /source/(Continue reading)
RSS Feed