X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=Makefile.am;h=32853fc7949dab3528fd2555923cf8c6b56c503a;hp=1ea6ff0ca3f1653c2be69ff2c66491570f3ecc8a;hb=b9da0fe3f74e02b355aa2be961e8df3ab8b16b88;hpb=1e9e6e50bd1bb81524185d8e32e3b787dead965b diff --git a/Makefile.am b/Makefile.am index 1ea6ff0..32853fc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -143,6 +143,11 @@ WEBSITEDIR = $(HOME)/d/redhat/websites/libguestfs website: $(HTMLFILES) $(TEXTFILES) cp $(HTMLFILES) $(WEBSITEDIR) for f in $(TEXTFILES); do cp $$f $(WEBSITEDIR)/$$f.txt; done + cd $(WEBSITEDIR) && \ + date=`date +%F`; \ + sed -e "s/SUBST_VERSION/$(VERSION)/" \ + -e "s/SUBST_DATE/$$date/" \ + < index.html.in > index.html # Generate the ChangeLog automatically from the gitlog.