1 --- Makefile 1997-12-14 19:43:35.000000000 +0100
2 +++ Makefile 2008-08-13 00:31:58.000000000 +0200
4 # change this to your favorite ANSI C compiler
9 # change this to the directory where you want the xtris binaries installed
10 -BINDIR = /usr/local/bin
11 +BINDIR = $(DESTDIR)/usr/bin
13 # change this to the directory where you want the xtris manpages installed
14 -MANDIR = /usr/local/man
15 +MANDIR = $(DESTDIR)/usr/share/man
17 # change according to taste and local custom...
18 -CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__
19 +# CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__
21 # on Solaris and similar systems, you'll need to uncomment this:
22 # EXTRALIBS = -lnsl -lsocket
25 install: xtris xtserv xtbot
26 -strip xtris xtserv xtbot
27 - -mkdir $(BINDIR) 2>/dev/null
28 - -mkdir $(MANDIR) 2>/dev/null
29 - -mkdir $(MANDIR)/man6 2>/dev/null
30 - cp xtris xtserv xtbot $(BINDIR)
31 + install -m 755 -d $(BINDIR)
32 + install -m 755 -d $(MANDIR)/man6
33 + cp xtris xtserv xtbot $(BINDIR)/
34 chmod 755 $(BINDIR)/xtris $(BINDIR)/xtserv $(BINDIR)/xtbot
35 - cp xtris.6 xtserv.6 xtbot.6 $(MANDIR)/man6
36 + cp xtris.6 xtserv.6 xtbot.6 $(MANDIR)/man6/
37 chmod 644 $(MANDIR)/man6/xtris.6 $(MANDIR)/man6/xtserv.6 $(MANDIR)/man6/xtbot.6