# # Makefile for the SGML summarizers for the Harvest Indexer # # $Id: Makefile.in,v 2.3 1997/11/04 18:15:03 sxw Exp $ # srcdir = @srcdir@ VPATH = $(srcdir) prefix = @prefix@ INSTALL_BINDIR = $(prefix)/bin INSTALL_LIBDIR = $(prefix)/lib INSTALL_UTILDIR = $(INSTALL_LIBDIR)/gatherer INSTALL_MANDIR = $(prefix)/man CC = @CC@ INSTALL = @INSTALL@ INSTALL_BIN = @INSTALL_PROGRAM@ INSTALL_FILE = @INSTALL_DATA@ RANLIB = @RANLIB@ LN_S = @LN_S@ XTRA_LIBS = @XTRA_LIBS@ SUBDIRS = sgmls SCRIPTS = SGML.sum IMS-DOCUMENT.sum all: do-all clean: do-clean distclean: do-distclean this-distclean install: do-install this-install this-install: @for f in $(SCRIPTS); do \ echo $(INSTALL_BIN) $$f $(INSTALL_UTILDIR); \ $(INSTALL_BIN) $(srcdir)/$$f $(INSTALL_UTILDIR); \ done cp -rp $(srcdir)/sgmls-lib $(INSTALL_UTILDIR) this-distclean: -rm -f Makefile DO_X = do-clean do-distclean do-all do-install $(DO_X): @target=`echo $@ | sed -e 's/^do-//'`; \ for dir in $(SUBDIRS); do \ echo Making $$target in $$dir; \ if (cd $$dir; $(MAKE) $(MFLAGS) $${target}); \ then true; else exit 1; fi; \ done