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