summaryrefslogtreecommitdiff
path: root/rhnop-client/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-05 13:44:40 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-05 13:44:40 (GMT)
commit5c642ab1c39fde2b6515ab0653fd084a439077a0 (patch)
treedfdf6146260fb39722cbcc1b4db97bc1526118c5 /rhnop-client/Makefile
parent99c07fae615a1f44a2eb24eb973700931017b248 (diff)
added nopsyncstated to debian package
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