X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=rmt%2FMakefile.in;h=b3a0a4b64ca1dff0849d08862f3977c477c6bde2;hb=60d46c352087c38c29a690d80b62441028579f35;hp=973d9425adb1db318a0efd7a301924091e6b49e3;hpb=ddd2ef55b78a62c4bc3daad18bef8a90e85a2052;p=dump.git diff --git a/rmt/Makefile.in b/rmt/Makefile.in index 973d942..b3a0a4b 100644 --- a/rmt/Makefile.in +++ b/rmt/Makefile.in @@ -1,3 +1,5 @@ +# $Id: Makefile.in,v 1.5 2001/04/06 10:09:40 stelian Exp $ + top_srcdir= @top_srcdir@ srcdir= @srcdir@ @@ -18,17 +20,22 @@ SRCS= rmt.c OBJS= rmt.o MAN8= rmt.8 -all:: $(PROG) +all:: $(PROG) rmt.8 $(PROG): $(OBJS) $(DEPLIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) -install:: $(PROG) - $(INSTALLBIN) $(PROG) $(BINDIR) +rmt.8: rmt.8.in + sed -e "s|__DATE__|$(DATE)|g" \ + -e "s|__VERSION__|$(VERSION)|g" $< > $@ + +install:: all + $(INSTALL) -d $(SBINDIR) $(MANDIR) + $(INSTALLBIN) $(PROG) $(SBINDIR) $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR) clean:: - rm -f $(PROG) \#* *.s *.o *.a *~ core + rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8 distclean:: clean rm -f Makefile Makefile.old .depend