view mk/script.mk @ 15:c4ee36b629c0

Build bits for docs, and a starting placeholder doc.
author David A. Holland
date Mon, 03 Sep 2012 13:55:42 -0400
parents 5f36d8d69aba
children 813a27f32072
line wrap: on
line source

.SUFFIXES: .py .pl .sh

PROG=$(SCRIPT:R)$(BINSUFFIX)

all: $(PROG)

$(PROG): $(SCRIPT)
	$(SED) -f $(TOP)/config.sed < $(SCRIPT) > $@.new
	mv -f $@.new $@

depend: ;

install:
	$(INSTALL) -c $(PROG) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(PROG)

clean distclean:
	rm -f $(PROG) $(PROG).new

.PHONY: all depend install clean distclean