[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:26

  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.8       +5 -2      eda/geda/devel/docs/switcap/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/switcap/Makefile.am,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- Makefile.am	5 Sep 2004 13:55:14 -0000	1.7
  +++ Makefile.am	22 Feb 2005 22:44:25 -0000	1.8
  @@ -1,3 +1,6 @@
  +## $Id: Makefile.am,v 1.8 2005/02/22 22:44:25 danmc Exp $
  +##
  +
   docname=switcap
   docsdir = @GEDADOCDIR@/$(docname)
   docs_DATA = $(docname).dvi $(docname).ps $(docname).pdf $(docname)/index.html
  @@ -35,8 +38,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 )