.gitignore
ifeq (@(TUP_WWW),y)

pages += index.html
pages += getting_started.html
pages += examples.html
pages += manual.html
pages += lua_parser.html
pages += tips_and_tricks.html
pages += make_vs_tup.html
pages += tup_vs_mordor.html
pages += license.html
pages += support.html
pages += donate.html

examples += ex_a_first_tupfile.html
examples += ex_dependencies.html
examples += ex_generated_header.html
examples += ex_multiple_directories.html
examples += ex_explicit_variants.html

luaexamples += ex_lua_examples.html

: |> ^ GEN %o^ ./gen_ex_header.sh $(examples) > %o |> examples.inc
: |> ^ GEN %o^ ./gen_ex_header.sh $(luaexamples) > %o |> luaexamples.inc
: examples.inc luaexamples.inc |> ^ GEN %o^ ./gen_menu.sh -x %1f -l %2f $(pages) > %o |> menu.inc
: |> ^ GEN %o^ ./gen_examples.sh $(examples) > %o |> examples.html
: ../../tup.1 |> ^ man2html %o^ man2html -M "" %f > %o |> manual.html
: foreach $(pages) $(examples) $(luaexamples) | menu.inc |> ^ GEN %o^ ./gen_page.sh -m %1i %f > %o |> %b.gen

endif
