From 97bc8fbfedfc3d823891ec6497c187cb8e1ace06 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 19 Mar 2010 21:59:28 +0100 Subject: [PATCH 69/70] don't install stuff that was not built We don't built everything in ptxdist. This Patch makes sure that 'make install' won't fail if 'skill' or 'pgrep' is not there. Signed-off-by: Michael Olbrich --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index abddb6e..5efabb3 100644 --- a/Makefile +++ b/Makefile @@ -229,8 +229,8 @@ $(MANFILES) : all $(install) --mode a=r $(notdir $@) $@ install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL)) - cd $(usr/bin) && $(ln_f) skill snice - cd $(usr/proc/bin) && $(ln_f) pgrep pkill + cd $(usr/bin) && test ! -f skill || $(ln_f) skill snice + cd $(usr/proc/bin) && test ! -f pgrep || $(ln_f) pgrep pkill ############ prog.c --> prog.o -- 1.7.0