mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
- sys_unix.cpp: changed one #ifdef that should really have been an #if
- Makefile.in: provided uninstall target
This commit is contained in:
parent
ce22e321b2
commit
65244bc22c
@ -8,7 +8,6 @@ exec_prefix=@exec_prefix@
|
||||
bindir=$(exec_prefix)/bin
|
||||
sharedir=$(prefix)/share/BasiliskII
|
||||
mandir=$(prefix)/man
|
||||
docdir=$(prefix)/doc/BasiliskII
|
||||
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
@ -61,7 +60,13 @@ modules:
|
||||
install: $(APP)
|
||||
$(INSTALL_PROGRAM) BasiliskII $(bindir)/
|
||||
$(INSTALL_DATA) BasiliskII.1 $(mandir)/man1/
|
||||
$(INSTALL_DATA) keycodes $(sharedir)/
|
||||
$(INSTALL) -d $(sharedir)
|
||||
$(INSTALL_DATA) keycodes $(sharedir)
|
||||
|
||||
uninstall:
|
||||
-rm -f $(bindir)/BasiliskII
|
||||
-rm -f $(mandir)/man1/BasiliskII.1
|
||||
-rm -rf $(sharedir)
|
||||
|
||||
clean:
|
||||
-rm -f $(OBJ_DIR)/* core* *.core *~ *.bak
|
||||
|
@ -581,7 +581,7 @@ void SysAllowRemoval(void *arg)
|
||||
if (!fh)
|
||||
return;
|
||||
|
||||
#ifdef defined(__linux__) && defined(CDROM_LOCKDOOR)
|
||||
#if defined(__linux__) && defined(CDROM_LOCKDOOR)
|
||||
if (fh->is_cdrom)
|
||||
ioctl(fh->fd, CDROM_LOCKDOOR, 0);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user