summaryrefslogtreecommitdiff
path: root/rhnop-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rhnop-client/Makefile')
-rw-r--r--rhnop-client/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/rhnop-client/Makefile b/rhnop-client/Makefile
index f85b59d..4e84c7a 100644
--- a/rhnop-client/Makefile
+++ b/rhnop-client/Makefile
@@ -46,6 +46,9 @@ install-bin: $(EXECUTABLE)
$(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
$(SED) -e 's#^conffile = "nopcollectd#conffile = "$(ETCDIR)/rhnop/nopcollectd#' -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)
$(SED) -e 's#_rhnoplibdir_/?.lua#$(LIBDIR)/?.lua#' -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)
+ $(INSTALL) -m 755 nopsysstated $(DESTDIR)$(BINDIR)
+ $(SED) -e 's#^conffile = "nopsysstated#conffile = "$(ETCDIR)/rhnop/nopsysstated#' -i $(DESTDIR)$(BINDIR)/nopsysstated
+ $(SED) -e 's#_rhnoplibdir_/?.lua#$(LIBDIR)/?.lua#' -i $(DESTDIR)$(BINDIR)/nopsysstated
install-lib:
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
@@ -55,6 +58,7 @@ install-lib:
install-etc:
$(INSTALL) -d $(DESTDIR)$(ETCDIR)/rhnop
$(INSTALL) -m 640 nopcollectd.*.conf $(DESTDIR)$(ETCDIR)/rhnop
+ $(INSTALL) -m 640 nopsysstated.conf $(DESTDIR)$(ETCDIR)/rhnop
uninstall: remove