From 753aa29b1550501283c2349bdee21ae1b57111f8 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Fri, 17 May 2013 16:21:05 +0200
Subject: [PATCH] Have 'avail' not be dependent on 'all'.
There are two reasons for removing this dependency:
- If someone does 'make avail' on the top level Makefile he ends up with
binaries but without libraries - not nice. Better do just "nothing" and
have hin understand that he needs to do 'make [all]' on the top level
Makfile first.
- If 'make avail' is done via 'sudo' it isn't desirable to do a large amount
of work as root.
BTW: I wasn't sure if this dependency is a good thing in the first place
but I saw it in many examples ('install' depending on 'all') so I did it too.
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index e316067d2..3f8c47d0f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -36,7 +36,7 @@ mostlyclean:
clean:
$(RM) -r ../wrk ../bin
-avail: all
+avail:
$(foreach prog,$(PROGS),$(AVAIL_recipe))
unavail:
--
2.39.5