- improved Makefile and man page

This commit is contained in:
cebix 1999-10-12 18:40:57 +00:00
parent 3779040137
commit 34d8f7a90e
2 changed files with 29 additions and 18 deletions

View File

@ -1,16 +1,22 @@
.TH BasiliskII 1 "October, 1999" "Version 0.7 (alpha)" "Mac II Emulation" .TH BasiliskII 1 "October, 1999"
.SH NAME .SH NAME
Basilisk II \- a free, portable Mac II emulator Basilisk II \- a free, portable Mac II emulator
.SH SYNOPSIS .SH SYNOPSIS
.B BasiliskII .B BasiliskII
[\-display
.IR display-name ]
.SH DESCRIPTION .SH DESCRIPTION
.B Basilisk II .B Basilisk II
is an attempt at creating a free, portable 68k Mac emulator. is an attempt at creating a free, portable 68k Mac emulator.
For more information, see the included "README" file. For more information, see the included "README" file.
.SH FILES .SH OPTIONS
.PD 0
.TP .TP
.I /usr/share/BasiliskII/keycodes .BI "\-display " display-name
specifies the display to use; see
.BR X (1)
.SH FILES
.TP
.I @datadir@/BasiliskII/keycodes
X server keycodes definitions. X server keycodes definitions.
.TP .TP
.I ~/.basilisk_ii_prefs .I ~/.basilisk_ii_prefs
@ -18,7 +24,6 @@ User-specific configuration file.
.TP .TP
.I ~/.basilisk_ii_nvram .I ~/.basilisk_ii_nvram
Contents of Mac non-volatile RAM. Contents of Mac non-volatile RAM.
.PD 1
.SH BUGS .SH BUGS
Several. See the included "TODO" file. Several. See the included "TODO" file.
.SH SEE ALSO .SH SEE ALSO

View File

@ -2,6 +2,7 @@
## System specific configuration ## System specific configuration
@SET_MAKE@ @SET_MAKE@
SHELL = /bin/sh
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@ exec_prefix = @exec_prefix@
@ -35,8 +36,10 @@ APP = BasiliskII
## Rules ## Rules
.PHONY: modules install uninstall clean distclean depend .PHONY: modules install uninstall clean distclean depend
.SUFFIXES:
.SUFFIXES: .c .cpp .s .o .h
default: $(APP) all: $(APP)
OBJ_DIR = obj OBJ_DIR = obj
$(OBJ_DIR):: $(OBJ_DIR)::
@ -59,24 +62,27 @@ modules:
cd Linux/NetDriver; make cd Linux/NetDriver; make
install: $(APP) install: $(APP)
$(INSTALL_PROGRAM) $(APP) $(bindir) $(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
$(INSTALL_DATA) $(APP).1 $(man1dir) -$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
$(INSTALL) -d $(datadir)/$(APP) $(INSTALL) -d $(datadir)/$(APP)
$(INSTALL_DATA) keycodes $(datadir)/$(APP) $(INSTALL_DATA) keycodes $(datadir)/$(APP)/keycodes
uninstall: uninstall:
-rm -f $(bindir)/$(APP) rm -f $(bindir)/$(APP)
-rm -f $(man1dir)/$(APP).1 rm -f $(man1dir)/$(APP).1
-rm -rf $(datadir)/$(APP) rm -f $(datadir)/$(APP)/keycodes
rmdir $(datadir)/$(APP)
clean: mostlyclean:
-rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak
-rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h
clean: mostlyclean
rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h
distclean: clean distclean: clean
-rm -rf $(OBJ_DIR) rm -rf $(OBJ_DIR)
-rm -f Makefile rm -f Makefile
-rm -f config.cache config.log config.status config.h rm -f config.cache config.log config.status config.h
depend dep: depend dep:
makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null