diff options
author | Bert Münnich <be.muennich@gmail.com> | 2013-01-27 18:03:07 +0100 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2013-01-27 18:03:07 +0100 |
commit | aa6ccf42b8aace05154bf2eebcba8695524b0b17 (patch) | |
tree | 79229fc6dd0bbbf7fde51a4614172cc5677a7c64 /Makefile | |
parent | 3a0a1ae889bc4de959cfe5079d541b0ec9119089 (diff) | |
parent | 9c0a53bc34c53424613ee203253fee526ba9f049 (diff) |
Merge branch 'userinfo'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |