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