From aa556f48a90ce60c1133c44514a9b5771f0b06d3 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Mon, 17 Apr 1995 19:10:20 +0000 Subject: [PATCH] Add missing $(DESTDIR) to rm command so that this stops removing files from my master system. This makefile is a crock, and will soon be rewritten! --- gnu/usr.bin/groff/mm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/groff/mm/Makefile b/gnu/usr.bin/groff/mm/Makefile index 7406c486f82f..30916769c224 100644 --- a/gnu/usr.bin/groff/mm/Makefile +++ b/gnu/usr.bin/groff/mm/Makefile @@ -23,7 +23,7 @@ afterinstall: chmod 755 $(DESTDIR)$(TMACDIR)/mm for f in $(FILES); do \ - rm -f $(TMACDIR)/mm/$$f; \ + rm -f $(DESTDIR)$(TMACDIR)/mm/$$f; \ install -c -o $(TMACOWN) -g $(TMACGRP) -m $(TMACMODE) \ $(.CURDIR)/mm/$$f $(DESTDIR)$(TMACDIR)/mm/$$f; \ done