Fixed Makefile

This commit is contained in:
Bert 2011-01-23 18:24:48 +01:00
parent d3da0eb71e
commit 1b0528c7a2

View File

@ -18,9 +18,9 @@ sxiv: $(OBJFILES)
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
install: all install: all
install -D -m 4755 -o root -g root sxiv $(PREFIX)/sbin/sxiv install -D -m 4755 -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" dwm.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
clean: clean: