Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9988e9e6aad4a0bbfacb81e43260ea9176d1434e
Ticket: 859072ffffffffffffffffffffffffffffffffff
sample extension make file broken
User & Date: lvirden on 2004-04-18 18:24:14
Changes

  1. icomment:
    Logged In: YES 
    user_id=15949
    
    One thing I have noticed:
    install-libraries: libraries
            @mkdir -p $(DESTDIR)$(includedir)
            @echo "Installing header files in
    $(DESTDIR)$(includedir)"
            @for i in $(PKG_HEADERS) ; do \
                echo "Installing $(srcdir)/$$i" ; \
                $(INSTALL_DATA) $(srcdir)/$$i
    $(DESTDIR)$(includedir) ; \
            done;
    is the code generated in the Makefile for same.
    But PKG_HEADERS is empty - causing the for loop to be
    for i in ; do
    
    that isn't going to work very well...
    
    The for loop should either be surrounded by an if or there needs
    to be something added to the for loop so that there is
    always at least
    one entry to process...
    
    It's really important to fix this kind of thing if we are
    going to tell people
    to use the sample code as a basis of their development.
    
    
    
    
  2. login: "lvirden"
  3. mimetype: "text/plain"
  4. username: "lvirden"