aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2013-01-27 18:03:01 +0100
committerBert Münnich <be.muennich@gmail.com>2013-01-27 18:03:01 +0100
commit9c0a53bc34c53424613ee203253fee526ba9f049 (patch)
treea2117056c6bf3c5fc73d5f7139b9dac7e6023cb0 /Makefile
parentcae5358234ecfe6a3fd3c5bad29a0a9f032888a9 (diff)
Added documentation for image-info script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9d3afd3..d542281 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = git-20130112
+VERSION = git-20130127
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
@@ -32,9 +32,13 @@ install: all
cp sxiv $(DESTDIR)$(PREFIX)/bin/
chmod 755 $(DESTDIR)$(PREFIX)/bin/sxiv
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
- sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
+ sed "s!PREFIX!$(PREFIX)!g; s!VERSION!$(VERSION)!g" sxiv.1 > $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
+ mkdir -p $(DESTDIR)$(PREFIX)/share/sxiv/exec
+ cp image-info $(DESTDIR)$(PREFIX)/share/sxiv/exec/image-info
+ chmod 755 $(DESTDIR)$(PREFIX)/share/sxiv/exec/image-info
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/sxiv
rm -f $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
+ rm -rf $(DESTDIR)$(PREFIX)/share/sxiv