aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:04:05 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:04:05 +1300
commit34e34f456cce4aabe3806f7dc6438d6e03f32b10 (patch)
tree7d1c0f79eaf3a786f56557c2535e4f59c6d32c8d /Makefile
parentb4607e0d51a1982272460e0ab9af359d92876f3f (diff)
parent1ffe28ca0ef8eab3dc1528d4f035377591935466 (diff)
downloadpetrichor-34e34f456cce4aabe3806f7dc6438d6e03f32b10.tar.xz
Merge branch 'develop' into release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
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' $^ > $@