summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.lib.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-15 19:06:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-15 19:06:57 +0000
commitf0cdee1733615d5f001ad0c6d7deb2e53403917a (patch)
treefcef744e76c1f8e22ec03e420a4d58a0f4fae847 /include/makeinclude/rules.lib.GNU
parent35cd86f00f3ed6b65fb51a2b5ee6520857d757e2 (diff)
downloadATCD-f0cdee1733615d5f001ad0c6d7deb2e53403917a.tar.gz
don't call $(RANLIB) if it is null.
Diffstat (limited to 'include/makeinclude/rules.lib.GNU')
-rw-r--r--include/makeinclude/rules.lib.GNU4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU
index 9b7c8acf337..bd7fea06c6d 100644
--- a/include/makeinclude/rules.lib.GNU
+++ b/include/makeinclude/rules.lib.GNU
@@ -92,7 +92,9 @@ ifdef TEMPINCDIR
fi
endif
-chmod a+r $@
+ifneq (,$(RANLIB))
-$(RANLIB) $@
+endif # RANLIB
# Note that if you don't want to build shared libraries, just remove the $(VSHOBJS)
ifdef SHLIBBUILD
@@ -114,5 +116,7 @@ ifdef SHLIBA
$(SHLIBA): $(VSHLIB)
$(AR) $(ARFLAGS) $@ $?
-chmod a+rx $@
+ifneq (,$(RANLIB))
-$(RANLIB) $@
+endif # RANLIB
endif