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'.
This commit is contained in:
Bruce Evans 1995-01-24 17:58:47 +00:00
parent ad1565eef3
commit fe0ac9ddfd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5860
2 changed files with 18 additions and 19 deletions

View File

@ -1,19 +1,18 @@
# Makefile for uusched
# $Id: Makefile,v 1.4 1995/01/24 17:32:09 jkh Exp $
# $Id: Makefile,v 1.5 1995/01/24 17:49:41 jkh Exp $
BINDIR= $(bindir)
CLEANFILES+= $(ONESHPROG)
ONESHPROG= uusched
PROG= uusched
SRCS=
NOMAN= yes
NOOBJ= yes
STRIP=
all: $(ONESHPROG)
uusched: uusched.in
$(ONESHPROG): $(ONESHPROG).in Makefile
sed -e "s|@BINDIR@|$(bindir)|g" -e "s|@SBINDIR@|$(sbindir)|g" \
$(.CURDIR)/uusched.in > $(.TARGET)
$(.ALLSRC:N*Makefile) > $(.TARGET)
depend:
@echo -n
beforeinstall:
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
$(ONESHPROG) $(DESTDIR)$(BINDIR)/$(ONESHPROG)
.include <bsd.prog.mk>

View File

@ -1,18 +1,18 @@
# Makefile for uuto
# $Id: Makefile,v 1.2 1993/08/06 23:28:02 rgrimes Exp $
# $Id: Makefile,v 1.3 1995/01/24 17:47:49 jkh Exp $
BINDIR= $(bindir)
CLEANFILES+= $(ONESHPROG)
ONESHPROG= uuto
PROG= uuto
SRCS=
NOMAN= yes
NOOBJ= yes
STRIP=
all: $(ONESHPROG)
uuto: uuto.in
$(ONESHPROG): $(ONESHPROG).in Makefile
sed -e "s|@BINDIR@|$(bindir)|g" -e "s|@SBINDIR@|$(sbindir)|g" \
$(.CURDIR)/uuto.in > $(.TARGET)
$(.ALLSRC:N*Makefile) > $(.TARGET)
depend:
beforeinstall:
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
$(ONESHPROG) $(DESTDIR)$(BINDIR)/$(ONESHPROG)
.include <bsd.prog.mk>