Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f15729aa
Commit
f15729aa
authored
Jun 03, 2005
by
Timothy Stack
Browse files
Add a control-install target for the auto-nice deamon (AND).
parent
4dd8ff10
Changes
5
Hide whitespace changes
Inline
Side-by-side
GNUmakefile.in
View file @
f15729aa
...
...
@@ -78,6 +78,7 @@ ops-install:
ifeq ($(EVENTSYS),1)
@$(MAKE) -C event control-install
endif
@$(MAKE) -C sensors control-install
@$(MAKE) -C xmlrpc control-install
@$(MAKE) -C tmcd control-install
...
...
sensors/GNUmakefile.in
View file @
f15729aa
...
...
@@ -29,7 +29,7 @@ endif
## `ACTIONS' is the set of actions that may be taken on a subdirectory or on
## the current directory. These become phony targets.
##
ACTIONS = all install client client-install clean distclean
ACTIONS = all install client client-install
control-install
clean distclean
## `TARGETS' is the set of all `<subdir>.<action>' targets.
##
...
...
sensors/and/GNUmakefile.in
View file @
f15729aa
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004 University of Utah and the Flux Group.
# Copyright (c) 2004
, 2005
University of Utah and the Flux Group.
# All rights reserved.
#
# This is the Emulab specific makefile.
...
...
@@ -183,6 +183,33 @@ endif
$(INSTALL) -m 0644 and.conf.5 $(DESTDIR)$(INSTALL_MAN)/man5
$(INSTALL) -m 0644 and.priorities.5 $(DESTDIR)$(INSTALL_MAN)/man5
control-install: all
strip and
#-mkdir $(PREFIX)
-mkdir -p $(INSTALL_DIR)/sbin
-mkdir -p $(INSTALL_DIR)/etc
-mkdir -p $(INSTALL_DIR)/etc/rc.d
-mkdir -p $(INSTALL_DIR)/man/man5
-mkdir -p $(INSTALL_DIR)/man/man8
$(INSTALL) -m 0755 and $(INSTALL_DIR)/sbin/and
$(INSTALL) -m 0644 and-emulab.conf $(INSTALL_DIR)/etc/and.conf
$(INSTALL) -m 0644 $(SRCDIR)/and-emulab.priorities \
$(INSTALL_DIR)/etc/and.priorities
ifneq (${INITSCRIPT},)
ifneq (${INSTALL_INITD},)
@echo "Installing SysV script in $(INSTALL_DIR)/etc/rc.d"
$(INSTALL) -m 0755 $(INITSCRIPT) $(INSTALL_DIR)/etc/rc.d/and
else
@echo "Installing SysV script in $(INSTALL_DIR)/sbin"
$(INSTALL) -m 0755 $(INITSCRIPT) $(INSTALL_DIR)/sbin
@echo "Installing SysV init.d finder in $(INSTALL_DIR)/sbin"
$(INSTALL) -m 0755 and-find-init.d $(INSTALL_DIR)/sbin
endif
endif
$(INSTALL) -m 0644 and.8 $(INSTALL_DIR)/man/man8
$(INSTALL) -m 0644 and.conf.5 $(INSTALL_DIR)/man/man5
$(INSTALL) -m 0644 and.priorities.5 $(INSTALL_DIR)/man/man5
simpleinstall: and and.init
strip and
mkdir -p $(DESTDIR)$(INSTALL_SBIN) $(DESTDIR)$(INSTALL_ETC)
...
...
sensors/canaryd/GNUmakefile.in
View file @
f15729aa
...
...
@@ -52,6 +52,8 @@ install: $(addprefix $(INSTALL_SBINDIR)/, $(SBIN_SCRIPTS) alertlistener) feedbac
client-install: client
$(INSTALL_PROGRAM) -s canaryd$(EXE) $(DESTDIR)$(CLIENT_BINDIR)$(EXE)
control-install:
clean:
rm -f *.o $(CDPROGS) *~ core *.core version.c
sensors/slothd/GNUmakefile.in
View file @
f15729aa
...
...
@@ -51,5 +51,7 @@ install: $(addprefix $(INSTALL_SBINDIR)/, $(SBIN_SCRIPTS) sdcollectd) webfeedbac
client-install: client
$(INSTALL_PROGRAM) slothd$(EXE) $(DESTDIR)$(CLIENT_BINDIR)$(EXE)
control-install:
clean:
rm -f *.o $(SDPROGS) *~ core *.core version.c
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment