X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=restore%2FMakefile.in;h=397302fdc725c0e31e2e2931faae4f6931c33113;hb=60d46c352087c38c29a690d80b62441028579f35;hp=af0b5936996d96574565908099e0c4c4267d8c73;hpb=aca7d867ae18bd62627f16ef90e58b433b881056;p=dump.git diff --git a/restore/Makefile.in b/restore/Makefile.in index af0b593..397302f 100644 --- a/restore/Makefile.in +++ b/restore/Makefile.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.6 2001/02/21 16:13:05 stelian Exp $ +# $Id: Makefile.in,v 1.7 2001/04/06 10:09:40 stelian Exp $ top_srcdir= @top_srcdir@ srcdir= @srcdir@ @@ -11,13 +11,13 @@ LIBS= $(GLIBS) -le2p @READLINE@ @ZLIB@ DEPLIBS= ../compat/lib/libcompat.a PROG= restore -LINKS= ${BINDIR}/restore ${BINDIR}/rrestore +LINKS= ${SBINDIR}/restore ${SBINDIR}/rrestore SRCS= dirs.c interactive.c main.c restore.c symtab.c tape.c \ utilities.c OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \ utilities.o ../common/dumprmt.o MAN8= restore.8 -MLINKS= restore.8 $(MANDIR)/rrestore.8 +MLINKS= $(MANDIR)/restore.8 $(MANDIR)/rrestore.8 all:: $(PROG) restore.8 @@ -29,13 +29,14 @@ restore.8: restore.8.in -e "s|__VERSION__|$(VERSION)|g" $< > $@ install:: all - $(INSTALLBIN) $(PROG) $(BINDIR) + $(INSTALL) -d $(SBINDIR) $(MANDIR) + $(INSTALLBIN) $(PROG) $(SBINDIR) $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR) @set $(LINKS) $(MLINKS); \ while test $$# -ge 2; do \ - l=$(DESTDIR)$$1; \ + l=$$1; \ shift; \ - t=$(DESTDIR)$$1; \ + t=$$1; \ shift; \ echo $$t -\> $$l; \ $(RM) -f $$t; \