Check-in [97cbb17f4f]

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

Overview
Comment:Treat tls.tcl.h as a normal file and always regenerate it, and never distribute it -- end users will need "od" to create it
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:97cbb17f4f1f87ebfe876cb6bb74caef183c8d17
User & Date: rkeene 2016-12-13 20:46:14
Context
2016-12-13
21:37
Updated documentation to indicate additional options check-in: a880307e5d user: rkeene tags: trunk
20:46
Treat tls.tcl.h as a normal file and always regenerate it, and never distribute it -- end users will need "od" to create it check-in: 97cbb17f4f user: rkeene tags: trunk
20:39
More work on a better install target and added a basic uninstall target check-in: 6339a69a26 user: rkeene tags: trunk
Changes

Changes to Makefile.in.

    33     33   tlsBIO.o: @srcdir@/tlsBIO.c @srcdir@/tlsInt.h Makefile
    34     34   tlsIO.o: @srcdir@/tlsIO.c @srcdir@/tlsInt.h Makefile
    35     35   tlsX509.o: @srcdir@/tlsX509.c @srcdir@/tlsInt.h Makefile
    36     36   
    37     37   # Create a C-source-ified version of the script resources
    38     38   # for TclTLS so that we only need a single file to enable
    39     39   # this extension
    40         -tls.tcl.h: @srcdir@/tls.tcl
           40  +tls.tcl.h: @srcdir@/tls.tcl Makefile
    41     41   	od -A n -v -t xC < '@srcdir@/tls.tcl' > tls.tcl.h.new.1
    42     42   	sed 's@  *@@g;s@..@0x&, @g' < tls.tcl.h.new.1 > tls.tcl.h.new.2
    43     43   	rm -f tls.tcl.h.new.1
    44     44   	mv tls.tcl.h.new.2 tls.tcl.h
    45     45   
    46     46   # Create default DH parameters
    47     47   dh_params.h: @srcdir@/gen_dh_params Makefile
................................................................................
    71     71   
    72     72   # Clean the local build directory for rebuild against the same configuration
    73     73   clean:
    74     74   	rm -f tls.o tlsBIO.o tlsIO.o tlsX509.o
    75     75   	rm -f tcltls.@SHOBJEXT@
    76     76   	rm -f tcltls.@SHOBJEXT@.a tcltls.@SHOBJEXT@.def
    77     77   	rm -f tcltls.a.new tcltls.a
    78         -	rm -f tls.tcl.h.new.1 tls.tcl.h.new.2
    79         -	@if [ '@srcdir@' != '.' ]; then echo rm -f tls.tcl.h; rm -f tls.tcl.h; fi
           78  +	rm -f tls.tcl.h tls.tcl.h.new.1 tls.tcl.h.new.2
    80     79   
    81     80   # Clean the local build directory back to what it was after unpacking the
    82     81   # distribution tarball
    83     82   distclean: clean
    84     83   	rm -f config.log config.status
    85     84   	rm -f dh_params.h.new dh_params.h
    86     85   	rm -f Makefile pkgIndex.tcl
................................................................................
    88     87   
    89     88   # Clean the local build directory back to only thing things that exist in
    90     89   # version control system
    91     90   mrproper: distclean
    92     91   	rm -f @srcdir@/configure @srcdir@/config.sub @srcdir@/config.guess @srcdir@/install-sh
    93     92   	rm -f @srcdir@/aclocal.m4
    94     93   	rm -rf @srcdir@/autom4te.cache
    95         -	rm -f @srcdir@/tls.tcl.h
    96     94   
    97     95   .PHONY: all install uninstall clean distclean mrproper test