Ignore:
Timestamp:
Aug 13, 2008 1:33:28 PM (13 years ago)
Author:
gah
Message:

nanovis/heightmap update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/tcl/Makefile.in

    r1090 r1111  
    3333MKDIR_P         = @MKDIR_P@
    3434AR              = ar
     35LN_S            = @LN_S@
    3536RM              = rm -f
    3637
    3738tcllib          = $$RAPPTURE_INSTALL_DIR/lib/tcl$(TCL_VERSION)
    3839tklib           = $$RAPPTURE_INSTALL_DIR/lib/tk$(TK_VERSION)
    39 envfile         = _tcl.env
    4040
    4141# The script directory is moved from src/tcl.
     
    4343.PHONY: src scripts tests
    4444
    45 all: $(envfile)
     45all:
    4646        $(MAKE) -C src all
    4747        $(MAKE) -C scripts all
    4848
    49 $(envfile):
    50         echo 'export TCL_LIBRARY=$(tcllib):$$TCL_LIBRARY' > $(envfile)
    51         echo 'export TK_LIBRARY=$(tklib):$$TK_LIBRARY' >> $(envfile)
     49links: 
    5250
    5351install:
     
    5654        $(MAKE) -C src install
    5755        $(MAKE) -C scripts install
    58         $(INSTALL) -m 0555 $(envfile) $(bindir)
     56        $(RM) $(bindir)/tclsh
     57        (cd $(bindir); $(LN_S) tclsh$(TCL_VERSION) tclsh)
     58        $(RM) $(bindir)/wish
     59        (cd $(bindir); $(LN_S) wish$(TK_VERSION) wish)
    5960
    6061test:   
Note: See TracChangeset for help on using the changeset viewer.