# Your C compilier and flags SHELL = /bin/sh installroot= srcdir = . top_srcdir = .. INSTALL = ../../ INSTALL_BIN = install -o root -g wheel -m 555 INSTALL_LIB = install -o root -g wheel -m 444 prefix = exec_prefix = ${prefix} bindir = ${exec_prefix}/bin libdir = ${exec_prefix}/lib mandir = ${prefix}/man/man1 manext = .1 %.txt: %.1 nroff -mandoc $< |col -bx >$@ %.ps: %.1 groff -Tps -mandoc $< >$@ all: clean: install: catdoc.1 xls2csv.1 ../mkinstalldirs $(installroot)$(mandir) $(INSTALL_LIB) catdoc.1 $(installroot)$(mandir)/catdoc$(manext) $(INSTALL_LIB) xls2csv.1 $(installroot)$(mandir)/xls2csv$(manext) # Following rules are primarily for developers use. I doubt that you # need to rebuild these versions of documentation distclean: catdoc.1 catdoc.txt catdoc.ps xls2csv.1 xls2csv.txt xls2csv.ps rm Makefile