diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 16:25:32 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 16:25:32 +1300 |
commit | d6bb5c09203ec2b2e2add38c11aab22fcbe3581c (patch) | |
tree | 5199710acc34975ebf97ae0f75e28cf86b2d4d3c /Makefile | |
parent | b4607e0d51a1982272460e0ab9af359d92876f3f (diff) | |
parent | 6bd10915ee2fdaac0fa41199dd095c3f6c02c027 (diff) | |
download | petrichor-d2606081dbc8edbdd2eb8d035d83a65d64adc4ad.tar.xz |
Merge branch 'release'1.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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' $^ > $@ |