Documentation Source Text

Check-in [6d275a3ac3]
Login

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

Overview
Comment:Fix the "clean" target of the makefile. Change the subfile naming in capi3ref.in to avoid name collisions between SQLITE_BLOB and sqlite3_blob.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6d275a3ac362b5df85ca05c525a747803c4974f0
User & Date: drh 2007-11-13 12:50:44
Context
2007-11-13
12:57
Fix the rounded edges on the menu bar. check-in: 1915ef738c user: drh tags: trunk
12:50
Fix the "clean" target of the makefile. Change the subfile naming in capi3ref.in to avoid name collisions between SQLITE_BLOB and sqlite3_blob. check-in: 6d275a3ac3 user: drh tags: trunk
02:53
Darken the font color on hyperlinks. Fix a bad link to the icons on the famous.html page. check-in: 8916aa40ec user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to main.mk.

    44     44   	cp $(DOC)/rawpages/* doc
    45     45   	tclsh $(DOC)/wrap.tcl $(DOC) $(SRC) doc $(DOC)/pages/*.in
    46     46   
    47     47   always:	
    48     48   
    49     49   
    50     50   clean:	
    51         -	rm -f doc sqlite3.h
           51  +	rm -rf doc sqlite3.h

Changes to pages/capi3ref.in.

    63     63       }
    64     64     }
    65     65   }
    66     66   
    67     67   
    68     68   # Convert a tag name into the filename used for the
    69     69   # multi-file version.
           70  +#
           71  +# Constants begin with SQLITE_.  The names are converted
           72  +# to lower case and prefixed with "c_".  If we did not
           73  +# do this, then the names "SQLITE_BLOB" and "sqlite3_blob"
           74  +# would collide.
    70     75   #
    71     76   proc convert_tag_name {oldname} {
    72         -  regsub -nocase {^sqlite3?_} $oldname {} name
           77  +  set oldname [string tolower $oldname]
           78  +  regsub {^sqlite_} $oldname {c_} oldname
           79  +  regsub {^sqlite3_} $oldname {} name
    73     80     return $name.html
    74     81   }
    75     82   
    76     83   # Compute a mapping from keywords to filenames.
    77     84   #
    78     85   unset -nocomplain keyword_to_file
    79     86   foreach c [lsort $content] {
    80     87     foreach {key title type keywords body code} $c break
    81     88     set file [convert_tag_name [lindex $keywords 0]]
    82     89     foreach k $keywords {
    83     90       set keyword_to_file($k) $file
    84     91     }
    85     92   }
           93  +#foreach k [lsort [array names keyword_to_file]] {
           94  +#  real_puts [format {%-30s %s} $k $keyword_to_file($k)]
           95  +#}
    86     96   
    87     97   # Output HTML that displays the given list in N columns
    88     98   #
    89     99   proc output_list {N lx multi} {
    90    100     global keyword_to_file
    91    101     puts {<table width="100%" cellpadding="5"><tr>}
    92    102     set len [llength $lx]