pcp
[Top] [All Lists]

pmdasystemd build/install fix

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pmdasystemd build/install fix
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Sun, 18 May 2014 19:39:17 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
Hi -

Please review & merge if desired.


commit de5b0f2582c8d9ac7eafe52259248fca41beb65b (HEAD, dev)
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Sun May 18 19:20:19 2014 -0400

    systemd pmda: install $(CMDTARGET)
    
    Commit 8d0b3db3832 in release 3.9.4 removed pmda .so build all right,
    but also accidentally removed the installation of the pmdasystemd
    executable.  Put that back.  The qa/652 test correctly asserts the
    existence of the pmda binary; perhaps leftovers a previous build gave
    a false-positive result.

diff --git a/src/pmdas/systemd/GNUmakefile b/src/pmdas/systemd/GNUmakefile
index 90bc61609485..9805c1dc25cd 100644
--- a/src/pmdas/systemd/GNUmakefile
+++ b/src/pmdas/systemd/GNUmakefile
@@ -40,6 +40,7 @@ install:      default
        $(INSTALL) -m 755 Install Remove $(PMDADIR)
        $(INSTALL) -m 644 $(DFILES) root help pmns $(PMDADIR)
        $(INSTALL) -m 644 domain.h $(PMDADIR)/domain.h
+       $(INSTALL) -m 755 $(CMDTARGET) $(PMDADIR)/$(CMDTARGET)
 else
 build-me:
 install:

<Prev in Thread] Current Thread [Next in Thread>