From fe0ac9ddfd69db060a906714e082f90877e77ccb Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 24 Jan 1995 17:58:47 +0000 Subject: [PATCH] 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'. --- gnu/libexec/uucp/uusched/Makefile | 19 +++++++++---------- gnu/libexec/uucp/uuto/Makefile | 18 +++++++++--------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/gnu/libexec/uucp/uusched/Makefile b/gnu/libexec/uucp/uusched/Makefile index b0007faea438..cfad585dea22 100644 --- a/gnu/libexec/uucp/uusched/Makefile +++ b/gnu/libexec/uucp/uusched/Makefile @@ -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 diff --git a/gnu/libexec/uucp/uuto/Makefile b/gnu/libexec/uucp/uuto/Makefile index c043e6b13785..094b84712a5a 100644 --- a/gnu/libexec/uucp/uuto/Makefile +++ b/gnu/libexec/uucp/uuto/Makefile @@ -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