File: Makefile

package info (click to toggle)
taglog 0.1.52-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 868 kB
  • ctags: 221
  • sloc: tcl: 7,233; makefile: 63; sh: 24
file content (26 lines) | stat: -rw-r--r-- 753 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Make file for the taglog program

version: taglog
	grep 'set version' taglog | cut -d' ' -f 3 > version

maketar: version
	./sort_taghelp taglog_help_en.tag
	./sort_taghelp taglog_help_de.tag
	tagextract -m Project -eq taglog <~/diary/actions.tag | tagextract -m Status -eq Pending > doc/taglog_todo.tag
	cp -a ../taglog ../taglog-$(shell cat version)
	tar -czv --dereference -f ../taglog-$(shell cat version).tar.gz -C .. taglog-$(shell cat version)
	rm -rf ../taglog-$(shell cat version)

pkgindex: taglog
	pkg_mkIndex . *.tcl

taglog.exe: taglog.vfs
	cp taglog taglog.tcl
	sdx wrap taglog -runtime /usr/local/lib/tclkit/tclkit-win32.upx.exe
	mv taglog taglog.exe
	mv taglog.tcl taglog
	rm -r taglog.vfs

taglog.vfs:	taglog
	tclsh install.tcl -vfs