changed manual file from section 1 to section 6, added the manual page to the install/uninstall targets in the makefile

This commit is contained in:
Richard Goedeken 2009-12-13 23:54:09 -05:00
parent e4a6a9726e
commit 8107223cef
4 changed files with 5 additions and 2 deletions

View file

@ -21,6 +21,6 @@ with your desired local installation path):
$ cd projects/unix
$ make all COREDIR=<my-folder> PLUGINDIR=<my-folder>
$ make install BINDIR=<my-folder>
$ make install BINDIR=<my-folder> MANDIR=<my-folder>

Binary file not shown.

BIN
doc/mupen64plus.6.gz Normal file

Binary file not shown.

View file

@ -193,6 +193,7 @@ targets:
@echo " Install Options:"
@echo " PREFIX=path == install/uninstall prefix (default: /usr/local/)"
@echo " BINDIR=path == path to install mupen64plus binary (default: PREFIX/bin/)"
@echo " MANDIR=path == path to install mupen64plus manual page (default: PREFIX/man/man6/)"
@echo " Debugging Options:"
@echo " DEBUG=1 == add debugging symbols to application binary"
@ -206,9 +207,11 @@ rebuild: clean all
install: $(TARGET)
$(INSTALL) -d -v "$(BINDIR)"
$(INSTALL) -m 0755 $(TARGET) "$(BINDIR)"
$(INSTALL) -d -v "$(MANDIR)"
$(INSTALL) -m 0644 ../../doc/mupen64plus.6.gz "$(MANDIR)"
uninstall:
rm -f "$(BINDIR)/$(TARGET)"
rm -f "$(BINDIR)/$(TARGET)" "$(MANDIR)/mupen64plus.6.gz"
# build rules
$(TARGET): $(OBJECTS)