From aab21f875e9d19f0a6fbc2a82d9ff7ca67169cda Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 25 Oct 1991 11:44:18 +0000 Subject: [PATCH] Only install machine-independent part when required --- modules/src/em_opt/proto.make | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/src/em_opt/proto.make b/modules/src/em_opt/proto.make index a73f53ab4..d20ab3108 100644 --- a/modules/src/em_opt/proto.make +++ b/modules/src/em_opt/proto.make @@ -65,8 +65,10 @@ install: all cp $(LIBCEOPT) $(MOD_DIR)/lib/$(LIBCEOPT) $(RANLIB) $(MOD_DIR)/lib/$(LIBCEOPT) cp $(SRC_DIR)/em_opt.3 $(MOD_DIR)/man/em_opt.3 - cp $(SRC_DIR)/em_nopt.6 $(TARGET_HOME)/man/em_nopt.6 cp em_nopt $(TARGET_HOME)/lib.bin/em_nopt + if [ $(DO_MACHINE_INDEP) = y ] ; \ + then cp $(SRC_DIR)/em_nopt.6 $(TARGET_HOME)/man/em_nopt.6 ; \ + fi cmp: all -cmp $(LIBOPT) $(MOD_DIR)/lib/$(LIBOPT)