Mercurial > hg > early-roguelike
comparison rogue5/Makefile.in @ 47:2a59cf36ae38
rogue5: Add chroot support to the autotools system.
author | elwin |
---|---|
date | Fri, 07 Oct 2011 21:19:14 +0000 |
parents | 655c317b6237 |
children | c9382913d6df |
comparison
equal
deleted
inserted
replaced
46:af6b05e86747 | 47:2a59cf36ae38 |
---|---|
85 | 85 |
86 RMDIR=rmdir | 86 RMDIR=rmdir |
87 | 87 |
88 CHMOD=chmod | 88 CHMOD=chmod |
89 | 89 |
90 DESTDIR= | 90 DESTDIR=@DESTDIR@ |
91 | 91 |
92 prefix=@prefix@ | 92 prefix=@prefix@ |
93 exec_prefix=@exec_prefix@ | 93 exec_prefix=@exec_prefix@ |
94 datarootdir=@datarootdir@ | 94 datarootdir=@datarootdir@ |
95 datadir=@datadir@ | 95 datadir=@datadir@ |
212 $(CHMOD) 02755 $(DESTDIR)$(bindir)/$(PROGRAM) ; \ | 212 $(CHMOD) 02755 $(DESTDIR)$(bindir)/$(PROGRAM) ; \ |
213 $(CHMOD) 0464 $(DESTDIR)$(SCOREFILE) ; \ | 213 $(CHMOD) 0464 $(DESTDIR)$(SCOREFILE) ; \ |
214 $(CHMOD) 0464 $(DESTDIR)$(LOGFILE) ; \ | 214 $(CHMOD) 0464 $(DESTDIR)$(LOGFILE) ; \ |
215 $(CHMOD) 0775 $(DESTDIR)$(SAVEDIR) ; \ | 215 $(CHMOD) 0775 $(DESTDIR)$(SAVEDIR) ; \ |
216 fi | 216 fi |
217 -if test -d $(man6dir) ; then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(man6dir)/$(PROGRAM).6 ; fi | 217 -if test -d $(DESTDIR)$(man6dir) ; then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(man6dir)/$(PROGRAM).6 ; fi |
218 -if test ! -d $(man6dir) ; then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(mandir)/$(PROGRAM).6 ; fi | 218 -if test ! -d $(DESTDIR)$(man6dir) ; then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(mandir)/$(PROGRAM).6 ; fi |
219 -$(INSTALL) -m 0644 rogue.doc $(DESTDIR)$(docdir)/$(PROGRAM).doc | 219 -$(INSTALL) -m 0644 rogue.doc $(DESTDIR)$(docdir)/$(PROGRAM).doc |
220 -$(INSTALL) -m 0644 rogue.html $(DESTDIR)$(docdir)/$(PROGRAM).html | 220 -$(INSTALL) -m 0644 rogue.html $(DESTDIR)$(docdir)/$(PROGRAM).html |
221 -$(INSTALL) -m 0644 rogue.cat $(DESTDIR)$(docdir)/$(PROGRAM).cat | 221 -$(INSTALL) -m 0644 rogue.cat $(DESTDIR)$(docdir)/$(PROGRAM).cat |
222 -$(INSTALL) -m 0644 LICENSE.TXT $(DESTDIR)$(docdir)/LICENSE.TXT | 222 -$(INSTALL) -m 0644 LICENSE.TXT $(DESTDIR)$(docdir)/LICENSE.TXT |
223 -$(INSTALL) -m 0644 rogue.me $(DESTDIR)$(docdir)/$(PROGRAM).me | 223 -$(INSTALL) -m 0644 rogue.me $(DESTDIR)$(docdir)/$(PROGRAM).me |
224 -if test ! -f $(DESTDIR)$(LOCKFILE) ; then $(INSTALL) -m 0666 test $(DESTDIR)$(LOCKFILE) ; $(RM) $(DESTDIR)$(LOCKFILE) ; fi | 224 -if test "x$(LOCKFILE)" != "x" -a ! -f $(DESTDIR)$(LOCKFILE) ; then \ |
225 $(INSTALL) -m 0666 test $(DESTDIR)$(LOCKFILE) ; \ | |
226 $(RM) $(DESTDIR)$(LOCKFILE) ; \ | |
227 fi | |
225 -$(RM) test | 228 -$(RM) test |
226 | 229 |
227 uninstall: | 230 uninstall: |
228 -$(RM) $(DESTDIR)$(bindir)/$(PROGRAM) | 231 -$(RM) $(DESTDIR)$(bindir)/$(PROGRAM) |
229 -$(RM) $(DESTDIR)$(man6dir)/$(PROGRAM).6 | 232 -$(RM) $(DESTDIR)$(man6dir)/$(PROGRAM).6 |