Check-in [33bd9e2024]

Not logged in

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

Overview
Comment:Added generation of teapot.txt.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:33bd9e2024ca36c7cab967a1eee72184521c91c4
User & Date: andreask 2012-02-27 19:33:16
Context
2016-03-01
06:28
Fix trunk split. Leaf check-in: 5c862db851 user: aku tags: trunk
2012-02-27
19:33
Added generation of teapot.txt. check-in: 33bd9e2024 user: andreask tags: trunk
2012-02-20
17:59
Added pragmas to guide a MD generator, and packager to include the icons in the generates packages. check-in: d715aabe04 user: andreask tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to build.tcl.

194
195
196
197
198
199
200























201
202
203
204
205
206
207
	if {$icons} {
	    file copy -force [file dirname $::me]/[file root $vfile] $ldir/${name}-new
	}

	set    c [open $ldir/${name}-new/pkgIndex.tcl w]
	puts  $c "package ifneeded $pkg $version \[list ::apply {{dir} {source \$dir/$vfile}} \$dir\]"
	close $c
























	file delete -force $ldir/$name$version
	file rename        $ldir/${name}-new     $ldir/$name$version
	puts "Installed package:     $ldir/$name$version"
    }
    return
}







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
	if {$icons} {
	    file copy -force [file dirname $::me]/[file root $vfile] $ldir/${name}-new
	}

	set    c [open $ldir/${name}-new/pkgIndex.tcl w]
	puts  $c "package ifneeded $pkg $version \[list ::apply {{dir} {source \$dir/$vfile}} \$dir\]"
	close $c

	set    c [open $ldir/${name}-new/teapot.txt w]
	puts $c "Package $pkg $version"
	puts $c "Meta platform tcl"
	puts $c "Meta entrykeep ."
	puts $c "Meta included pkgIndex.tcl"
	puts $c "Meta included $vfile"
	puts $c "Meta subject icon famfamfam "
	puts $c "Meta build::date [clock format [clock seconds] -format {%Y-%m-%d}]"
	puts $c "Meta author \{Andreas Kupries\}"
	puts $c "Meta as::origin http://chiselapp.com/user/andreas_kupries/repository/famfamfam/home"
	puts $c "Meta category icons"
	puts $c "Meta license BSD"
	if {$icons} {
	    set icons [file root $vfile]
	    puts $c "Meta require famfamfam"
	    puts $c "Meta subject $icons"
	    puts $c "Meta included $icons"
	    puts $c "Meta description Binding to the famfamfam $icons icon set"
	} else {
	    puts $c "Meta description Common code for the famfamfam icon bindings"
	}
	close $c

	file delete -force $ldir/$name$version
	file rename        $ldir/${name}-new     $ldir/$name$version
	puts "Installed package:     $ldir/$name$version"
    }
    return
}