--- Makefile.in.old Mon Nov 7 19:50:05 2005 +++ Makefile.in Thu Dec 15 19:25:55 2005 @@ -83,7 +83,7 @@ # For linking (configure script will modify this line) # xmkmf et imake informations are take into account. -LIBS = @LIBS@ -lm +LIBS = @LIBS@ -lm -lX11 -lcompat all:demo @@ -124,29 +124,21 @@ @echo "Executable go in $(BINDIR)" @echo "Scores go in $(SCOREDIR)" @echo "Defaults go in $(RESOURCEDIR)/Xbl" - @echo "Man pages go in $(MANPATH)/mann or man1" + @echo "Man pages go in $(MANPATH)/man1" @-if [ "" != "$(USE_SETGID)" ] ; then \ echo "You use GID=$(GROUP_GID) protection" ; \ fi - @echo "Type to continue installation" - @echo "Type NO to stop installation" - @read LINE && test "" = "$$LINE" # # Remove old score file # @-if [ -d "$(SCOREDIR)" ] ; \ then \ - echo "The scoring method and speeds of Xbl had change" ; \ - echo "If your version is older than 0.2e, destroy score." ; \ - echo "Type to destroy old score files" ; \ - echo "Type NO to hold old score files" ; \ - read LINE && test "" = "$$LINE" && rm $(SCOREDIR)/[1-9]* ; \ - exit 0 ; \ + rm $(SCOREDIR)/[1-9]* ; \ fi # # Install executable # - $(CP) bl $(BINDIR)/xbl + $(BSD_INSTALL_PROGRAM) bl $(BINDIR)/xbl -if [ "" = "$(USE_SETGID)" ] ; then \ chmod 755 $(BINDIR)/xbl ;\ else \ @@ -160,30 +152,20 @@ -mkdir $(SCOREDIR) 2>/dev/null $(CP) Xbl.ad $(RESOURCEDIR)/Xbl ; chmod 644 $(RESOURCEDIR)/Xbl $(CP) Xbl.ad $(SCOREDIR)/Xbl ; chmod 644 $(SCOREDIR)/Xbl - $(CP) COPYING $(SCOREDIR) ; chmod 444 $(SCOREDIR)/COPYING -if [ "" = "$(USE_SETGID)" ] ; then \ chmod 777 $(SCOREDIR) ;\ chmod 666 $(SCOREDIR)/[1-9]* ;\ else \ chmod 775 $(SCOREDIR) ;\ - chmod 664 $(SCOREDIR)/[1-9]* ;\ - chown root $(SCOREDIR) $(SCOREDIR)/[1-9]* ;\ - chgrp $(GROUP_GID) $(SCOREDIR) $(SCOREDIR)/[1-9]* ;\ fi # # Install manual pages # - -if [ -d $(MANPATH)/mann ] ; \ - then \ - $(CP) xbl.man $(MANPATH)/mann/xbl.n ;\ - chmod 444 $(MANPATH)/mann/xbl.n ; \ - else \ $(CP) xbl.man $(MANPATH)/man1/xbl.1 ;\ chmod 444 $(MANPATH)/man1/xbl.1 ; \ - fi cp *.gif *.html $(SCOREDIR) # - -ls -lsa $(SCOREDIR) $(BINDIR)/xbl $(MANPATH)/man[1n]/xbl.[1n] + -ls -lsa $(SCOREDIR) $(BINDIR)/xbl $(MANPATH)/man1/xbl.1 @echo "Type xbl to play" bl:$(OBJ)