X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=32853fc7949dab3528fd2555923cf8c6b56c503a;hb=b9da0fe3f74e02b355aa2be961e8df3ab8b16b88;hp=8fed9ec1fbe1b53bb91fff1c4f12eccdc49c500c;hpb=7faff93c3cd2143ee20127f75625f5c520b9d787;p=libguestfs.git diff --git a/Makefile.am b/Makefile.am index 8fed9ec..32853fc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -ACLOCAL_AMFLAGS = -I m4 -I gnulib/m4 +ACLOCAL_AMFLAGS = -I m4 SUBDIRS = gnulib/lib src daemon appliance fish po examples images \ gnulib/tests capitests regressions test-tool @@ -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 | \