From: Oliver Schmidt
Date: Fri, 17 May 2013 14:21:05 +0000 (+0200)
Subject: Have 'avail' not be dependent on 'all'.
X-Git-Tag: V2.15~290
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=753aa29b1550501283c2349bdee21ae1b57111f8;p=cc65
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.
---
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: