Menu

#1 install-libraries target fails

open
nobody
None
5
2001-07-27
2001-07-27
No

the Install target fails with a syntax error because
there are
no GENERIC_HRDS.

Here's my patch to fix the problem:

diff -rc sybtcl-3.0rc2/Makefile.in
sybtcl-3.0rc2-pah/Makefile.in
*** sybtcl-3.0rc2/Makefile.in Thu Dec 28 18:11:34
2000
--- sybtcl-3.0rc2-pah/Makefile.in Fri Jul 27
07:43:58 2001
***************
*** 233,244 ****

#========================================================================

install-libraries: libraries
! $(mkinstalldirs) $(includedir)
! @echo "Installing header files in
$(includedir)"
! @for i in $(GENERIC_HDRS) ; do \
! echo "Installing $$i" ; \
! $(INSTALL_DATA) $$i $(includedir) ; \
! done;

#========================================================================
# Install documentation. Unix manpages should go in
the $(mandir)
--- 233,246 ----

#========================================================================

install-libraries: libraries
! @if test -n "$(GENERIC_HDRS)" ;
then \
! $(mkinstalldirs) $(includedir)
; \
! echo "Installing header files in
$(includedir)" ; \
! for i in "$(GENERIC_HDRS)" ;
do \
! echo "Installing $$i"
; \
! $(INSTALL_DATA) $$i $(includedir)
; \
!
done; \
! fi

#========================================================================
# Install documentation. Unix manpages should go in
the $(mandir)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB