1
BINDIR=/${prefix}/usr/sbin
6
renattach : renattach.o settings.o
7
$(CC) $(CFLAGS) -o renattach renattach.o settings.o
14
@if [ ! -r $(BINDIR) ] ; then mkdir -p $(BINDIR) ; fi
15
@if [ ! -r $(CONFDIR) ] ; then mkdir -p $(CONFDIR) ; fi
16
./install.sh renattach $(BINDIR) -s -m 755
17
@if [ -r $(CONFDIR)/renattach.conf ] ; \
18
then echo "Not replacing existing .conf file" ; \
19
else ./install.sh renattach.conf $(CONFDIR) -m 644 ; \
20
echo "./install.sh renattach.conf $(CONFDIR) -m 644" ; fi
23
rm -f $(BINDIR)/renattach
24
rm -i $(CONFDIR)/renattach.conf