Fixed setuid and typo in Makefile, damn copy&paste

This commit is contained in:
Bert 2011-01-30 14:47:25 +01:00
parent c52c4fa69e
commit 56cd150b9d
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ sxiv: $(OBJFILES)
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
install: all 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 mkdir -p $(PREFIX)/share/man/man1
sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(PREFIX)/share/man/man1/sxiv.1 sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(PREFIX)/share/man/man1/sxiv.1
chmod 644 $(PREFIX)/share/man/man1/sxiv.1 chmod 644 $(PREFIX)/share/man/man1/sxiv.1

View file

@ -16,7 +16,7 @@ sxiv is built using the commands:
Please note, that the latter one requires root privileges. Please note, that the latter one requires root privileges.
By default, sxiv is installed using the prefix "/usr/local", so the full path 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 You can install it into a directory of your choice by changing the second
command to: command to: