X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=Makefile.am;h=32853fc7949dab3528fd2555923cf8c6b56c503a;hp=bbf23d9016f504e8819cb28b79145931fccad2f1;hb=b9da0fe3f74e02b355aa2be961e8df3ab8b16b88;hpb=0fc0e4bd73c60c1cd742509a70cf79932def4ea5 diff --git a/Makefile.am b/Makefile.am index bbf23d9..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. @@ -154,11 +159,13 @@ dist-hook: all-local: cd $(srcdir); \ find $(DIST_SUBDIRS) -name '*.c' -o -name '*.pl' -o -name '*.pm' | \ - grep -v 'perl/blib/' | \ - grep -v 'capitests/' | \ - grep -v 'daemon/lib/' | \ - grep -v 'daemon/tests/' | \ - grep -v 'examples/' | \ + grep -v '^perl/blib/' | \ + grep -v '^capitests/' | \ + grep -v '^daemon/lib/' | \ + grep -v '^daemon/tests/' | \ + grep -v '^examples/' | \ + grep -v '^gnulib/' | \ + grep -v '^perl/examples/' | \ grep -v '/guestfs_protocol.c' | \ grep -v '/rc_protocol.c' | \ LC_ALL=C sort | \