Tcl Extension Architecture (TEA) Sample Extension

Check-in [824cc3dd73]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Better dist. Fix typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:824cc3dd73d061cee17e39f3ba2fa72122e9c739df43e80d24970121eb2d6f20
User & Date: stu 2018-06-16 04:45:00
Context
2018-06-17
05:43
Tidy, typo. check-in: 73bef963f0 user: stu tags: trunk
2018-06-16
04:45
Better dist. Fix typo. check-in: 824cc3dd73 user: stu tags: trunk
2018-06-15
20:20
Missing .PHONYs. check-in: 97ba416ca2 user: stu tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

   322    322   DIST_INSTALL_SCRIPT	= CPPROG='cp -p' $(INSTALL) -m 755
   323    323   
   324    324   dist-clean:
   325    325   	rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.*
   326    326   
   327    327   dist: dist-clean
   328    328   	$(INSTALL_DATA_DIR) $(DIST_DIR)
   329         -	$(DIST_INSTALL_DATA) $(srcdir)/license.terms \
   330         -		$(srcdir)/ChangeLog $(srcdir)/README \
          329  +
          330  +	# TEA files
          331  +	$(DIST_INSTALL_DATA) $(srcdir)/Makefile.in \
   331    332   		$(srcdir)/aclocal.m4 $(srcdir)/configure.ac \
   332         -		$(srcdir)/Makefile.in $(srcdir)/pkgIndex.tcl.in \
   333         -		$(srcdir)/README.sha \
   334    333   		$(DIST_DIR)/
   335    334   	$(DIST_INSTALL_SCRIPT) $(srcdir)/configure $(DIST_DIR)/
   336    335   
   337    336   	$(INSTALL_DATA_DIR) $(DIST_DIR)/tclconfig
   338    337   	$(DIST_INSTALL_DATA) $(srcdir)/tclconfig/README.txt \
   339    338   		$(srcdir)/tclconfig/tcl.m4 $(srcdir)/tclconfig/install-sh \
   340    339   		$(DIST_DIR)/tclconfig/
          340  +
          341  +	# Extension files
          342  +	$(DIST_INSTALL_DATA) \
          343  +		$(srcdir)/ChangeLog \
          344  +		$(srcdir)/README.sha \
          345  +		$(srcdir)/license.terms \
          346  +		$(srcdir)/README \
          347  +		$(srcdir)/pkgIndex.tcl.in \
          348  +		$(DIST_DIR)/
   341    349   
   342    350   	list='demos doc generic library mac tests unix win'; \
   343    351   	for p in $$list; do \
   344    352   	    if test -d $(srcdir)/$$p ; then \
   345    353   		$(INSTALL_DATA_DIR) $(DIST_DIR)/$$p; \
   346         -		$(DIST_INSTALL_DATA) $(srcdir)/$$p/*.* $(DIST_DIR)/$$p/; \
          354  +		$(DIST_INSTALL_DATA) $(srcdir)/$$p/* $(DIST_DIR)/$$p/; \
   347    355   	    fi; \
   348    356   	done
   349    357   
   350    358   	(cd $(DIST_ROOT); $(COMPRESS);)
   351    359   
   352    360   #========================================================================
   353    361   # End of user-definable section

Changes to configure.ac.

   166    166   
   167    167   TEA_PROG_TCLSH
   168    168   #TEA_PROG_WISH
   169    169   
   170    170   #--------------------------------------------------------------------
   171    171   # Finally, substitute all of the various values into the Makefile.
   172    172   # You may alternatively have a special pkgIndex.tcl.in or other files
   173         -# which require substituting th AC variables in.  Include these here.
          173  +# which require substituting the AC variables in. Include these here.
   174    174   #--------------------------------------------------------------------
   175    175   
   176    176   AC_OUTPUT([Makefile pkgIndex.tcl])