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.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6d275a3ac362b5df85ca05c525a747803c4974f0
User & Date: drh 2007-11-13 12:50:44.000
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
Side-by-Side Diff Ignore Whitespace Patch
Changes to main.mk.
44
45
46
47
48
49
50
51

44
45
46
47
48
49
50

51







-
+
	cp $(DOC)/rawpages/* doc
	tclsh $(DOC)/wrap.tcl $(DOC) $(SRC) doc $(DOC)/pages/*.in

always:	


clean:	
	rm -f doc sqlite3.h
	rm -rf doc sqlite3.h
Changes to pages/capi3ref.in.
63
64
65
66
67
68
69
70





71


72

73
74
75
76
77
78
79
80
81
82
83
84
85



86
87
88
89
90
91
92
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102








+
+
+
+
+

+
+
-
+













+
+
+







    }
  }
}


# Convert a tag name into the filename used for the
# multi-file version.
#
# Constants begin with SQLITE_.  The names are converted
# to lower case and prefixed with "c_".  If we did not
# do this, then the names "SQLITE_BLOB" and "sqlite3_blob"
# would collide.
#
proc convert_tag_name {oldname} {
  set oldname [string tolower $oldname]
  regsub {^sqlite_} $oldname {c_} oldname
  regsub -nocase {^sqlite3?_} $oldname {} name
  regsub {^sqlite3_} $oldname {} name
  return $name.html
}

# Compute a mapping from keywords to filenames.
#
unset -nocomplain keyword_to_file
foreach c [lsort $content] {
  foreach {key title type keywords body code} $c break
  set file [convert_tag_name [lindex $keywords 0]]
  foreach k $keywords {
    set keyword_to_file($k) $file
  }
}
#foreach k [lsort [array names keyword_to_file]] {
#  real_puts [format {%-30s %s} $k $keyword_to_file($k)]
#}

# Output HTML that displays the given list in N columns
#
proc output_list {N lx multi} {
  global keyword_to_file
  puts {<table width="100%" cellpadding="5"><tr>}
  set len [llength $lx]