Check-in [43aebb6a2b]
Overview
SHA1:43aebb6a2bc4899cedef77e1f53a2fecb9ac8e57
Date: 2011-09-09 14:20:33
User: rkeene
Comment:Updated to support release build system
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2011-09-09
14:32
[9608a4d5cf] Updated to correctly build release output Removed extraneous file (user: rkeene, tags: trunk)
14:20
[43aebb6a2b] Updated to support release build system (user: rkeene, tags: trunk)
14:09
[8babc9b7bd] Fixed missed clean-up file (user: rkeene, tags: trunk)
Changes

Added HEADER version [9cc3c39871].

            1  +                                @@UTIL@@ @@VERS@@
            2  +
            3  +Release information:
            4  +  pkg:  @@UTIL@@ version @@VERS@@
            5  +  url:  http://www.rkeene.org/devel/@@UTIL@@-@@VERS@@.tar.gz
            6  +  date: @@DATE@@
            7  +--------------------------------------------------------------------------
            8  +

Modified Makefile.in from [ec5c84111c] to [21133ef852].

     5      5   # "autoconf" program (constructs like "@foo@" will get replaced in the
     6      6   # actual Makefile.
     7      7   #
     8      8   # @(#) $Id: ctk.shar,v 1.50 1996/01/15 14:47:16 andrewm Exp andrewm $
     9      9   
    10     10   # Current CTk version;  used in various names.
    11     11   
    12         -VERSION = 8.0
           12  +VERSION = @PACKAGE_VERSION@
    13     13   
    14     14   #----------------------------------------------------------------
    15     15   # Things you can change to personalize the Makefile for your own
    16     16   # site (you can make these changes in either Makefile.in or
    17     17   # Makefile, but changes to Makefile will get lost if you re-run
    18     18   # the configuration script).
    19     19   #----------------------------------------------------------------
................................................................................
   179    179   	ar cr libctk.a $(OBJS)
   180    180   	$(RANLIB) libctk.a
   181    181   
   182    182   libctk.@SHOBJEXT@: $(OBJS)
   183    183   	rm -f libctk.@SHOBJEXT@
   184    184   	$(CC) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o libctk.@SHOBJEXT@ $(OBJS) $(LIBS)
   185    185   
   186         -configInfo: Makefile
   187         -	@rm -f configInfo
   188         -	@echo "# Definitions and libraries needed to build Tk applications" >> configInfo
   189         -	@echo "# (generated by the configure script):" >> configInfo
   190         -	@echo "TK_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
   191         -	@echo "TK_LIBS = @LIBS@" >> configInfo
   192         -
   193    186   install: install-binaries install-libraries install-demos install-man
   194    187   
   195         -install-binaries: libctk.a
          188  +install-binaries: @TARGETS@
   196    189   	@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
   197    190   	    do \
   198    191   	    if [ ! -d $$i ] ; then \
   199    192   		echo "Making directory $$i"; \
   200    193   		mkdir $$i; \
   201    194   		chmod 755 $$i; \
   202    195   		else true; \
   203    196   		fi; \
   204    197   	    done;
   205         -	@echo "Installing libctk.a"
   206         -	@$(INSTALL_DATA) libctk.a $(LIB_INSTALL_DIR)
   207         -	@$(RANLIB) $(LIB_INSTALL_DIR)/libctk.a
          198  +	@for target in @TARGETS@; do
          199  +		echo "Installing $${target}"; \
          200  +		$(INSTALL_DATA) $${target} $(LIB_INSTALL_DIR); \
          201  +	done
   208    202   
   209    203   install-libraries:
   210    204   	@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
   211    205   		$(SCRIPT_INSTALL_DIR) ; \
   212    206   	    do \
   213    207   	    if [ ! -d $$i ] ; then \
   214    208   		echo "Making directory $$i"; \
................................................................................
   265    259   	    $(INSTALL_DATA) $$i $(MAN1_INSTALL_DIR); \
   266    260   	    done;
   267    261   
   268    262   Makefile: $(SRC_DIR)/Makefile.in
   269    263   	$(SHELL) config.status
   270    264   
   271    265   clean:
   272         -	rm -f libctk.a libctk.so
          266  +	rm -f libctk.a libctk.@SHOBJEXT@
   273    267   	rm -f *.a *.o core errs *~ \#* TAGS *.E a.out errors tktest cwish$(VERSION) \
   274    268   		config.info
   275    269   
   276    270   distclean: clean
   277    271   	rm -f Makefile config.status config.log pkgIndex.tcl
   278    272   
   279    273   depend:
   280    274   	makedepend -- $(CC_SWITCHES) -- $(SRCS)
   281    275   
   282    276   .c.o:
   283    277   	$(CC) -c $(CC_SWITCHES) $<
   284    278   
   285         -#
   286         -# Target to check for proper usage of UCHAR macro.
   287         -#
   288         -
   289         -checkuchar:
   290         -	-egrep isalnum\|isalpha\|iscntrl\|isdigit\|islower\|isprint\|ispunct\|isspace\|isupper\|isxdigit $(SRCS) | grep -v UCHAR
   291         -
   292         -#
   293         -# Target to make sure that only symbols with "Tk" or "Ctk" prefixes are
   294         -# exported.
   295         -#
   296         -
   297         -checkexports: libctk.a
   298         -	-nm -p libctk.a | awk '$$2 ~ /[TDB]/ { print $$3 }' | sort -n | grep -v '^[Cc]?[Tt]k'
   299         -
   300         -#
   301         -# Target to create a proper Tk distribution from information in the
   302         -# master source directory.  DISTDIR must be defined to indicate where
   303         -# to put the distribution.
   304         -#
   305         -
   306         -configure: configure.in
   307         -	autoconf
   308         -dist:   configure
   309         -	rm -rf $(DISTDIR)
   310         -	mkdir $(DISTDIR)
   311         -	cp license.terms Makefile.in $(DISTDIR)
   312         -	chmod 664 $(DISTDIR)/Makefile.in
   313         -	cp -p $(SRCS) $(HDRS) $(DISTDIR)
   314         -	mkdir $(DISTDIR)/compat
   315         -	cp -p license.terms compat/unistd.h compat/stdlib.h $(DISTDIR)/compat
   316         -	cp -p README README.TERM ToDo changes porting.notes *.1 $(DISTDIR)
   317         -	cp -p configure configure.in install-sh $(DISTDIR)
   318         -	chmod 775 $(DISTDIR)/configure $(DISTDIR)/configure.in
   319         -	chmod +x $(DISTDIR)/install-sh
   320         -	mkdir $(DISTDIR)/library
   321         -	cp -p license.terms library/*.tcl library/tclIndex $(DISTDIR)/library
   322         -	mkdir $(DISTDIR)/library/demos
   323         -	cp -pr library/demos/widget library/demos/README \
   324         -		license.terms $(DISTDIR)/library/demos
   325         -
   326         -mci_args:
   327         -	@echo ctk README README.TERM ToDo changes porting.notes license.terms \
   328         -		Makefile.in configure.in install-sh \
   329         -		$(SRCS) $(HDRS) compat library
   330         -		
   331    279   # DO NOT DELETE THIS LINE -- make depend depends on it.

Name change from autogen.sh to build/autogen.sh.


Added build/makearch.info version [28eea2a5f7].

            1  +# This is the name of the utility, it will be prefixed to the tarball name
            2  +UTIL="ctk"
            3  +
            4  +# This is the name of output files that should exist after configure 
            5  +# procedures.
            6  +BINS="libctk.so"
            7  +
            8  +# This lists the name of files that are required to exist
            9  +REQS=""
           10  +
           11  +# Version of utility, if empty it will be guessed.
           12  +# If set to "auto" it will be maintained in a file called .version
           13  +# in the source directory and the revision will be incremented
           14  +# each time a "makearch" is done.
           15  +#
           16  +# If @@SVNLCR@@ is used anywhere in this version number, it will be
           17  +# replaced with the highest last-changed-rev from the output of
           18  +#   svn info -R    (or 0)
           19  +VERS="8.0.@@SVNLCR@@"
           20  +
           21  +# Space sperated list of documents, if they exist, they will be
           22  +# prefixed with the contents of the DOC_HDR file and substitution
           23  +# will occur:
           24  +#     @@UTIL@@ becomes the utility name ${UTIL}
           25  +#     @@VERS@@ becomes the utility version
           26  +#     @@DATE@@ becomes the current date
           27  +DOCS="README"
           28  +DOC_HDR="HEADER"
           29  +
           30  +# These files follow the same convention as DOCS, but don't have the header
           31  +# tacked onto them.
           32  +UPDATE_VARS="configure.ac"
           33  +
           34  +# This script is executed immediately after copying the files
           35  +# to a temp directory to attempt to compile
           36  +BEFORE="build/autogen.sh"
           37  +
           38  +# This script is executed immediately prior to creation of the
           39  +# tarball
           40  +AFTER=""
           41  +
           42  +# Files matching these (space-seperated) patterns are deleted
           43  +TMPS="*.out HEADER build"

Modified configure.ac from [8a5b6b9c19] to [74356e87a7].

     1      1   dnl Define ourselves
     2         -AC_INIT(ctk, 8.2) 
            2  +AC_INIT(ctk, @@VERS@@) 
     3      3   
     4      4   dnl Checks for programs.
     5      5   AC_PROG_CC
     6      6   AC_PROG_MAKE_SET
     7      7   AC_PROG_INSTALL
     8      8   AC_GNU_SOURCE
     9      9