X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=rmt%2FMakefile.in;fp=rmt%2FMakefile.in;h=e1d44406837c61d453e205cd15c35d6c20371ffd;hp=973d9425adb1db318a0efd7a301924091e6b49e3;hb=8d4197bb9ba5bbcef21409231ed8903b0cac353a;hpb=ddd2ef55b78a62c4bc3daad18bef8a90e85a2052 diff --git a/rmt/Makefile.in b/rmt/Makefile.in index 973d942..e1d4440 100644 --- a/rmt/Makefile.in +++ b/rmt/Makefile.in @@ -18,17 +18,21 @@ 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) +rmt.8: rmt.8.in + sed -e "s|__DATE__|$(DATE)|g" \ + -e "s|__VERSION__|$(VERSION)|g" $< > $@ + +install:: all $(INSTALLBIN) $(PROG) $(BINDIR) $(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