comparison rogue5/Makefile.in @ 50:c9382913d6df

rogue5: make sure SAVEDIR is a directory.
author elwin
date Mon, 10 Oct 2011 20:57:51 +0000
parents 2a59cf36ae38
children 8f7c082fde46
comparison
equal deleted inserted replaced
49:34d46b6113c7 50:c9382913d6df
199 install: $(PROGRAM) 199 install: $(PROGRAM)
200 -$(TOUCH) test 200 -$(TOUCH) test
201 -if test ! -f $(DESTDIR)$(SCOREFILE) ; then $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi 201 -if test ! -f $(DESTDIR)$(SCOREFILE) ; then $(INSTALL) -m 0664 test $(DESTDIR)$(SCOREFILE) ; fi
202 -if test "x$(LOGFILE)" != "x" -a ! -f $(DESTDIR)$(LOGFILE) ; then \ 202 -if test "x$(LOGFILE)" != "x" -a ! -f $(DESTDIR)$(LOGFILE) ; then \
203 $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi 203 $(INSTALL) -m 0664 test $(DESTDIR)$(LOGFILE) ; fi
204 -if test "x$(SAVEDIR)" != "x" -a ! -f $(DESTDIR)$(SAVEDIR) ; then \ 204 -if test "x$(SAVEDIR)" != "x" -a ! -d $(DESTDIR)$(SAVEDIR) ; then \
205 $(MKDIR) -p $(DESTDIR)$(SAVEDIR) ; fi 205 $(MKDIR) -p $(DESTDIR)$(SAVEDIR) ; fi
206 -$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) 206 -$(INSTALL) -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
207 -if test "x$(GROUPOWNER)" != "x" ; then \ 207 -if test "x$(GROUPOWNER)" != "x" ; then \
208 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(SCOREFILE) ; \ 208 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(SCOREFILE) ; \
209 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(LOGFILE) ; \ 209 $(CHGRP) $(GROUPOWNER) $(DESTDIR)$(LOGFILE) ; \