Prepare for 1.0.71.
[libguestfs.git] / Makefile.am
index bbf23d9..32853fc 100644 (file)
@@ -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 | \