File: Makefile

package info (click to toggle)
deken 0.10.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 668 kB
  • sloc: tcl: 2,945; python: 422; sh: 417; makefile: 33
file content (16 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
default:
	@echo "make dek:	build a legacy deken-package for the deken-plugin"

plugin_version := $(shell egrep "^if.*::deken::versioncheck" deken-plugin.tcl  | sed -e 's| *].*||' -e 's|.* ||')

dek: deken-plugin-$(plugin_version)--externals.zip

.PHONY: dek deken-plugin
deken-plugin: deken-plugin.tcl README.plugin.txt LICENSE.txt README.deken.pd
	rm -rf $@
	mkdir -p $@
	cp $^ $@
	mv $@/README.plugin.txt $@/README.txt

deken-plugin-$(plugin_version)--externals.zip: deken-plugin
	deken package --dekformat=0 --version=$(plugin_version) $^