From 1ffe28ca0ef8eab3dc1528d4f035377591935466 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 14 Mar 2016 16:03:38 +1300 Subject: Add proper version field to theme file --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 889509f..a30c6fc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ PREFIX=/usr/ DESTDIR= +VERSION=1.0 + THEME_FILES=\ index.html \ @@ -10,8 +12,9 @@ THEME_FILES=\ iec5009.svg \ drop-down.svg -all: +.PHONY: all install +all: $(THEME_FILES) install: for f in $(THEME_FILES) ; do \ @@ -19,3 +22,8 @@ install: done install -Dm 644 LICENSE "$(DESTDIR)/$(PREFIX)/share/licenses/petrichor/LICENSE" +clean: + rm index.theme + +index.theme: index.theme.in + sed -e 's/{VERSION}/$(VERSION)/g' $^ > $@ -- cgit v1.1