Bruce Evans fe0ac9ddfd Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG},
which is not supposed to work for shell files, but somehow did with
the old `make'.
1995-01-24 17:58:47 +00:00

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>