[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: Makefile.am



  User: danmc   
  Date: 05/02/22 17:44:22

  Modified:    .        Makefile.am
  Log:
  fix building in the case where we are using install-sh instead of
  
  a system supplied install program.  In this case, INSTALL gets set
  
  to a relative path so we can't change directories and try to use
  
  $(INSTALL).  In particular, solaris can build and install the docs now.
  
  
  
  
  Revision  Changes    Path
  1.11      +5 -2      eda/geda/devel/docs/fileformats/Makefile.am
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/docs/fileformats/Makefile.am,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- Makefile.am	5 Sep 2004 13:55:14 -0000	1.10
  +++ Makefile.am	22 Feb 2005 22:44:21 -0000	1.11
  @@ -1,3 +1,6 @@
  +## $Id: Makefile.am,v 1.11 2005/02/22 22:44:21 danmc Exp $
  +##
  +
   docname=fileformats
   docsdir = @GEDADOCDIR@/$(docname)
   docs_DATA = $(docname).dvi $(docname).ps $(docname).pdf $(docname)/index.html
  @@ -28,8 +31,8 @@
   $(docname): $(docname)/index.html
   
   install-data-hook: $(docname)/index.html
  -	( cd $(docname) ; $(INSTALL) -d $(DESTDIR)$(docsdir); \
  -          for i in *; do \
  +	( $(INSTALL) -d $(DESTDIR)$(docsdir); \
  +          for i in $(docname)/*; do \
   		$(INSTALL_DATA) $$i $(DESTDIR)$(docsdir); \
   	  done )