Fixed setuid and typo in Makefile, damn copy&paste
This commit is contained in:
parent
c52c4fa69e
commit
56cd150b9d
2
Makefile
2
Makefile
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user