X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=Makefile.am;h=b4df8a86ab62516dd96251f3109d8720ad66eacb;hp=1b5ea897cdd925a69a3ec9cc95aeed99f0239fe7;hb=b03ee3675bed8d739ae722ed8c030ae02b3cb0ed;hpb=81d4a01ac03bc2996eea1ca4cc3182e50d21e6ba diff --git a/Makefile.am b/Makefile.am index 1b5ea89..b4df8a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,7 +44,14 @@ EXTRA_DIST = \ HACKING TODO \ tests.c \ libguestfs.pc libguestfs.pc.in \ - gitlog-to-changelog + gitlog-to-changelog \ + recipes/LICENSE \ + recipes/README \ + recipes/*.html \ + recipes/*.sh \ + recipes/*.example \ + html/recipes.css \ + make-recipes.sh # Build the root filesystem. # Currently this is arch-dependent, so it seems like putting it in @@ -135,8 +142,15 @@ html/guestfish.1.html: guestfish.pod guestfish-actions.pod --htmldir html \ --outfile $@ -website: html/guestfs.3.html html/guestfish.1.html - cp $^ html/pod.css $(HOME)/d/redhat/et-website/libguestfs/ +# Recipes web page. +html/recipes.html: $(wildcard recipes/*.sh) $(wildcard recipes/*.html) $(wildcard recipes/*.example) Makefile make-recipes.sh + rm -f $@ $@-t + sh make-recipes.sh recipes/*.sh > $@-t + mv $@-t $@ + +website: html/guestfs.3.html html/guestfish.1.html html/recipes.html + cp $^ html/pod.css html/recipes.css \ + $(HOME)/d/redhat/et-website/libguestfs/ # Generate the ChangeLog automatically from the gitlog. @@ -179,7 +193,7 @@ test-boot-realistic: emptydisk # Make clean. -CLEANFILES = $(fs_DATA) emptydisk pod2htm?.tmp *~ html/*~ +CLEANFILES = $(fs_DATA) emptydisk pod2htm?.tmp *~ html/*~ recipes/*~ clean-local: rm -rf initramfs