aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-01-21 11:36:34 +0100
committerMattias Andrée <maandree@operamail.com>2013-01-21 11:36:34 +0100
commitcd34d5e07ccaa4cb7157ba6605d1d856362705eb (patch)
tree54e9faa42d8b5430d58597cdf44d8651cd7ea59c /Makefile
parentdist (diff)
downloadadjbacklight-cd34d5e07ccaa4cb7157ba6605d1d856362705eb.tar.gz
adjbacklight-cd34d5e07ccaa4cb7157ba6605d1d856362705eb.tar.bz2
adjbacklight-cd34d5e07ccaa4cb7157ba6605d1d856362705eb.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 80dff12..a770596 100644
--- a/Makefile
+++ b/Makefile
@@ -62,22 +62,22 @@ dvi.xz: $(BOOK).dvi.xz
# install to system
.PHONY: install
install:
- mkdir -p $(DESTDIR)$(PREFIX)/bin
- mkdir -p $(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)
- mkdir -p $(DESTDIR)$(PREFIX)/share/info/
- install -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/
- install -m 644 Adjbacklight.class $(DESTDIR)$(PREFIX)/bin/
- install -m 644 COPYING $(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)
- install -m 644 LICENSE $(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)
- install -m 644 $(BOOK).info.gz $(DESTDIR)$(PREFIX)/share/info
+ mkdir -p "$(DESTDIR)$(PREFIX)/bin"
+ mkdir -p "$(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)"
+ mkdir -p "$(DESTDIR)$(PREFIX)/share/info/"
+ install -m 755 "$(PROGRAM)" "$(DESTDIR)$(PREFIX)/bin/"
+ install -m 644 Adjbacklight.class "$(DESTDIR)$(PREFIX)/bin/"
+ install -m 644 COPYING "$(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)"
+ install -m 644 LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)"
+ install -m 644 "$(BOOK).info.gz" "$(DESTDIR)$(PREFIX)/share/info"
# remove files created by `install`
.PHONY: uninstall
uninstall:
- unlink $(DESTDIR)$(PREFIX)/bin/Adjbacklight.class
- unlink $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
- rm -r $(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)
- rm $(DESTDIR)$(PREFIX)/share/info/$(BOOK).info.gz
+ unlink "$(DESTDIR)$(PREFIX)/bin/Adjbacklight.class"
+ unlink "$(DESTDIR)$(PREFIX)/bin/$(PROGRAM)"
+ rm -r "$(DESTDIR)$(PREFIX)/share/licenses/$(PROGRAM)"
+ rm "$(DESTDIR)$(PREFIX)/share/info/$(BOOK).info.gz"
# remove files created by `all`
.PHONY: clean