Tcl UDP

Check-in [e8ca879427]
Login

Check-in [e8ca879427]

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

Overview
Comment:Tweak to feed dtplite into TCLSH rathe than make a bare call. Some systems do not have "tclsh" provided as a bare command
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e8ca879427d3fb9f4f099a742f8437fe826dae22
User & Date: hypnotoad 2014-08-21 14:18:17
Original User & Date: root 2014-08-21 14:18:17
Context
2014-08-21
14:32
Checking in patch submitted to sourceforge: https://sourceforge.net/p/tcludp/bugs/42 check-in: 1b24c4d641 user: hypnotoad tags: trunk
14:18
Tweak to feed dtplite into TCLSH rathe than make a bare call. Some systems do not have "tclsh" provided as a bare command check-in: e8ca879427 user: hypnotoad tags: trunk
2014-04-30
13:53
Updated to the latest TEA. pkgMkIndex.tcl is now built by configure check-in: 95c34925cf user: hypnotoad tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.in.

172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#========================================================================
# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries: $(BINARIES) pkgIndex.tcl-hand

libraries:


#========================================================================
# Your doc target should differentiate from doc builds (by the developer)
# and doc installs (see install-doc), which just install the docs on the
# end user machine when building from source.
#========================================================================

DTPLITE=@DTPLITE@
doc: udp.n

udp.n: $(srcdir)/doc/udp.man
	@if [ -n "$(DTPLITE)" -a -x "$(DTPLITE)" ]; then \
	    $(DTPLITE) -o $@ nroff $(srcdir)/doc/udp.man ; \
	fi








|










|







172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
#========================================================================
# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries: $(BINARIES) 

libraries:


#========================================================================
# Your doc target should differentiate from doc builds (by the developer)
# and doc installs (see install-doc), which just install the docs on the
# end user machine when building from source.
#========================================================================

DTPLITE=$(TCLSH) @DTPLITE@
doc: udp.n

udp.n: $(srcdir)/doc/udp.man
	@if [ -n "$(DTPLITE)" -a -x "$(DTPLITE)" ]; then \
	    $(DTPLITE) -o $@ nroff $(srcdir)/doc/udp.man ; \
	fi

278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
#========================================================================

VPATH = $(srcdir):$(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win

.c.@OBJEXT@:
	$(COMPILE) -c `@CYGPATH@ $<` -o $@

#========================================================================
# Create the pkgIndex.tcl file.
# It is usually easiest to let Tcl do this for you with pkg_mkIndex, but
# you may find that you need to customize the package.  If so, either
# modify the -hand version, or create a pkgIndex.tcl.in file and have
# the configure script output the pkgIndex.tcl by editing configure.in.
#========================================================================

pkgIndex.tcl: $(PKG_LIB_FILE)
	( echo pkg_mkIndex . $(PKG_LIB_FILE) \; exit; ) | $(TCLSH)

pkgIndex.tcl-hand:
	(echo 'package ifneeded $(PACKAGE_NAME) $(PACKAGE_VERSION) \
	    [list load [file join $$dir $(PKG_LIB_FILE)]]'\
	) > pkgIndex.tcl

#========================================================================
# Distribution creation
# You may need to tweak this target to make it work correctly.
#========================================================================

#COMPRESS	= tar cvf $(PKG_DIR).tar $(PKG_DIR); compress $(PKG_DIR).tar
COMPRESS	= gtar zcvf $(PKG_DIR).tar.gz $(PKG_DIR)







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







278
279
280
281
282
283
284
















285
286
287
288
289
290
291
#========================================================================

VPATH = $(srcdir):$(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win

.c.@OBJEXT@:
	$(COMPILE) -c `@CYGPATH@ $<` -o $@

















#========================================================================
# Distribution creation
# You may need to tweak this target to make it work correctly.
#========================================================================

#COMPRESS	= tar cvf $(PKG_DIR).tar $(PKG_DIR); compress $(PKG_DIR).tar
COMPRESS	= gtar zcvf $(PKG_DIR).tar.gz $(PKG_DIR)