[Stackless-checkins] CVS: slpdev/src/2.3/dev Makefile.pre.in, 1.33, 1.34
Bob Ippolito
bob at centera.de
Fri May 7 18:35:56 CEST 2004
Update of /home/cvs/slpdev/src/2.3/dev
In directory centera.de:/tmp/cvs-serv22840
Modified Files:
Makefile.pre.in
Log Message:
Install the headers properly
Index: Makefile.pre.in
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/dev/Makefile.pre.in,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** Makefile.pre.in 4 May 2004 19:57:41 -0000 1.33
--- Makefile.pre.in 7 May 2004 16:35:54 -0000 1.34
***************
*** 93,96 ****
--- 93,102 ----
CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(VERSION)
LIBP= $(LIBDIR)/python$(VERSION)
+ STACKLESSINCLUDEDIRS= \
+ core \
+ module \
+ pickling \
+ platf
+
# Symbols used for using shared libraries
***************
*** 765,769 ****
# Install the include files
! INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
inclinstall:
@for i in $(INCLDIRSTOMAKE); \
--- 771,780 ----
# Install the include files
! INCLDIRSTOMAKE= \
! $(INCLUDEDIR) \
! $(CONFINCLUDEDIR) \
! $(INCLUDEPY) \
! $(CONFINCLUDEPY)
!
inclinstall:
@for i in $(INCLDIRSTOMAKE); \
***************
*** 780,783 ****
--- 791,807 ----
$(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY); \
done
+ @for j in $(STACKLESSINCLUDEDIRS); \
+ do \
+ if test ! -d $(DESTDIR)$(INCLUDEPY)$$j; then \
+ echo "Creating directory $(DESTDIR)$(INCLUDEPY)/$$j; \
+ $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(INCLUDEPY)/$$j; \
+ else true; \
+ fi; \
+ for i in $(srcdir)/Stackless/$$j/*.h; \
+ do \
+ echo $(INSTALL_DATA) $$i $(INCLUDEPY)/$$j; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY)/$$j; \
+ done \
+ done
$(INSTALL_DATA) pyconfig.h $(DESTDIR)$(CONFINCLUDEPY)/pyconfig.h
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
More information about the Stackless-checkins
mailing list