aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:25:32 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:25:32 +1300
commitd6bb5c09203ec2b2e2add38c11aab22fcbe3581c (patch)
tree5199710acc34975ebf97ae0f75e28cf86b2d4d3c /Makefile
parentb4607e0d51a1982272460e0ab9af359d92876f3f (diff)
parent6bd10915ee2fdaac0fa41199dd095c3f6c02c027 (diff)
downloadpetrichor-d6bb5c09203ec2b2e2add38c11aab22fcbe3581c.tar.xz
Merge branch 'release'1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 889509f..c40d9b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,26 @@
PREFIX=/usr/
DESTDIR=
+VERSION=1.0
THEME_FILES=\
index.html \
index.theme \
petrichor.js \
- petrichor.css \
- bg.jpg \
- iec5009.svg \
- drop-down.svg
+ petrichor.css
-all:
+.PHONY: all install
+all: $(THEME_FILES)
-install:
+install: all
for f in $(THEME_FILES) ; do \
install -Dm 644 "$$f" -t "$(DESTDIR)/$(PREFIX)/share/lightdm-webkit/themes/petrichor/" ; \
done
+ cp -r image "$(DESTDIR)/$(PREFIX)/share/lightdm-webkit/themes/petrichor/"
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' $^ > $@