fe0ac9ddfd
which is not supposed to work for shell files, but somehow did with the old `make'.
19 lines
437 B
Makefile
19 lines
437 B
Makefile
# Makefile for uuto
|
|
# $Id: Makefile,v 1.3 1995/01/24 17:47:49 jkh Exp $
|
|
|
|
BINDIR= $(bindir)
|
|
CLEANFILES+= $(ONESHPROG)
|
|
ONESHPROG= uuto
|
|
|
|
all: $(ONESHPROG)
|
|
|
|
$(ONESHPROG): $(ONESHPROG).in Makefile
|
|
sed -e "s|@BINDIR@|$(bindir)|g" -e "s|@SBINDIR@|$(sbindir)|g" \
|
|
$(.ALLSRC:N*Makefile) > $(.TARGET)
|
|
|
|
beforeinstall:
|
|
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
|
|
$(ONESHPROG) $(DESTDIR)$(BINDIR)/$(ONESHPROG)
|
|
|
|
.include <bsd.prog.mk>
|