Re: Commit: Re: another autoconf patch


Subject: Re: Commit: Re: another autoconf patch
From: Alec Wolman (wolman@cs.washington.edu)
Date: Tue Jul 17 2001 - 20:17:10 CDT


> Looks good. Committed.
>
> Hub

Thanks.

Here is another patch: this one to the top-level GNUmakefile.am.
This patch improves the behavior of "make install" when autoconf
is used - it avoids installing the CVS directory.

Alec

--- ../GNUmakefile.am.orig Sat Jul 7 17:42:59 2001
+++ ../GNUmakefile.am Tue Jul 17 17:58:16 2001
@@ -68,15 +68,13 @@
          echo "Warning: unixfonts package not found." ;\
        fi
        if test -d $(top_srcdir)/../abidistfiles ; then \
- for dir in $$(cd $(top_srcdir)/../abidistfiles; echo *) ; do \
- if test -d $(top_srcdir)/../abidistfiles/$$dir ; then \
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)/$$dir ;\
- for file in $(top_srcdir)/../abidistfiles/$$dir/* ; do \
- if test -f $$file ; then \
- $(INSTALL_DATA) $$file $(DESTDIR)$(pkglibdir)/$$dir; \
- fi; \
- done; \
- fi ; \
+ for dir in `cd $(top_srcdir)/../abidistfiles; find . -type d ! -name CVS` ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkglibdir)/$$dir ;\
+ for file in $(top_srcdir)/../abidistfiles/$$dir/* ; do \
+ if test -f $$file ; then \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(pkglibdir)/$$dir; \
+ fi; \
+ done; \
          done; \
        else \
          echo "Warning: abidistfiles package not found." ;\



This archive was generated by hypermail 2b25 : Tue Jul 17 2001 - 20:17:28 CDT