Mercurial > ~dholland > hg > swallowtail > index.cgi
view mk/script.mk @ 45:233dcc4d80e1
update
author | David A. Holland |
---|---|
date | Mon, 16 Jun 2014 01:27:54 -0400 |
parents | 813a27f32072 |
children |
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: [ -d $(DESTDIR)$(PREFIX)/$(BINDIR) ] || \ mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR) $(INSTALL) -c $(PROG) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(PROG) clean distclean: rm -f $(PROG) $(PROG).new .PHONY: all depend install clean distclean