Changeset 1090 for trunk/lang/tcl


Ignore:
Timestamp:
Aug 4, 2008 5:51:37 PM (16 years ago)
Author:
gah
Message:

various fixes

File:
1 edited

Legend:

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

    r1082 r1090  
    3737tcllib          = $$RAPPTURE_INSTALL_DIR/lib/tcl$(TCL_VERSION)
    3838tklib           = $$RAPPTURE_INSTALL_DIR/lib/tk$(TK_VERSION)
     39envfile         = _tcl.env
    3940
    4041# The script directory is moved from src/tcl.
     
    4243.PHONY: src scripts tests
    4344
    44 all: tcl.env
     45all: $(envfile)
    4546        $(MAKE) -C src all
    4647        $(MAKE) -C scripts all
    4748
    48 tcl.env:
    49         echo 'export TCL_LIBRARY=$(tcllib):$$TCL_LIBRARY' > tcl.env
    50         echo 'export TK_LIBRARY=$(tklib):$$TK_LIBRARY' >> tcl.env
     49$(envfile):
     50        echo 'export TCL_LIBRARY=$(tcllib):$$TCL_LIBRARY' > $(envfile)
     51        echo 'export TK_LIBRARY=$(tklib):$$TK_LIBRARY' >> $(envfile)
    5152
    5253install:
     
    5556        $(MAKE) -C src install
    5657        $(MAKE) -C scripts install
    57         $(INSTALL) -m 0555 tcl.env $(bindir)
     58        $(INSTALL) -m 0555 $(envfile) $(bindir)
    5859
    5960test:   
Note: See TracChangeset for help on using the changeset viewer.