pcp
[Top] [All Lists]

[PATCH] Fix consecutive builds

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: [PATCH] Fix consecutive builds
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Mon, 23 Nov 2015 11:07:49 +0200
Delivered-to: pcp@xxxxxxxxxxx
Organization: Red Hat
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
To reproduce:

$ make
$ touch src/pcp/atop/atop.c
$ make

---
 src/pcp/atop/GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pcp/atop/GNUmakefile b/src/pcp/atop/GNUmakefile
index 2f5179e..a531cd9 100644
--- a/src/pcp/atop/GNUmakefile
+++ b/src/pcp/atop/GNUmakefile
@@ -76,7 +76,7 @@ default_pcp: default
 install_pcp: install
 
 $(DISTLINKS):  $(CMDTARGET)
-       @$(LN_S) $(CMDTARGET) $@
+       @$(LN_S) -f $(CMDTARGET) $@
 
 pmgenmap.sh:
        sed -e "s;^\. .PCP_DIR.etc.pcp.env;. $(TOPDIR)/src/include/pcp.env;" \

Thanks,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Fix consecutive builds, Marko Myllynen <=