Update Makefile to install man-page

This commit is contained in:
Themaister 2011-01-15 15:56:40 +01:00
parent 2a8db622f5
commit 4119eaadf4

View File

@ -103,10 +103,12 @@ tools/ssnes-joyconfig: $(JOYCONFIG_OBJ)
install: $(TARGET)
install -m755 $(TARGET) $(DESTDIR)$(PREFIX)/bin
install -m644 ssnes.cfg $(DESTDIR)/etc/ssnes.cfg
install -m644 docs/ssnes.1 $(DESTDIR)$(PREFIX)/share/man/man1
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/{ssnes,ssnes-joyconfig}
rm -f $(DESTDIR)/etc/ssnes.cfg
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/ssnes.1
clean:
rm -f *.o