diff --git a/Makefile b/Makefile index 97b23c1..3b231f0 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ sxiv: $(OBJFILES) $(CC) $(CFLAGS) -c -o $@ $< install: all - install -D -m 4755 -o root -g root sxiv $(PREFIX)/bin/sxiv + install -D -m 755 -o root -g root sxiv $(PREFIX)/bin/sxiv mkdir -p $(PREFIX)/share/man/man1 sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(PREFIX)/share/man/man1/sxiv.1 chmod 644 $(PREFIX)/share/man/man1/sxiv.1 diff --git a/README.md b/README.md index 6cf1f68..96eadf7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ sxiv is built using the commands: Please note, that the latter one requires root privileges. By default, sxiv is installed using the prefix "/usr/local", so the full path -of the executable will be "/usr/local/sbin/sxiv". +of the executable will be "/usr/local/bin/sxiv". You can install it into a directory of your choice by changing the second command to: