File: Makefile

package info (click to toggle)
taglog 0.2.5-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,480 kB
  • sloc: tcl: 8,199; makefile: 23; sh: 12
file content (30 lines) | stat: -rw-r--r-- 865 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
27
28
29
30
# Make file for the taglog program

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

maketar: version
	./sort_taghelp taglog_help_en.tag
	./sort_taghelp taglog_help_de.tag
	./sort_taghelp taglog_help_fr.tag
	./sort_taghelp taglog_help_nl.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

clean:
# Nothing to do for clean