Skip to content
Snippets Groups Projects
Commit b6690372 authored by Mike Hibler's avatar Mike Hibler
Browse files

Whoops! Here are the rest of the mfs-install changes

parent ff2335dd
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,22 @@ client-install: client client-mkdirs ...@@ -107,6 +107,22 @@ client-install: client client-mkdirs
@$(MAKE) -C sensors client-install @$(MAKE) -C sensors client-install
@$(MAKE) -C tmcd client-install @$(MAKE) -C tmcd client-install
destdircheck:
@if [ -z "$(DESTDIR)" ]; then \
echo "You must define DESTDIR for this target!"; \
false; \
fi
mfs:
@$(MAKE) -C os mfs
@$(MAKE) -C sensors mfs
@$(MAKE) -C tmcd mfs
mfs-install: destdircheck mfs
@$(MAKE) -C os mfs-install
@$(MAKE) -C sensors mfs-install
@$(MAKE) -C tmcd mfs-install
# #
# A check to see if this is a 'real' install. Kinda hacky, but as far as I can # A check to see if this is a 'real' install. Kinda hacky, but as far as I can
# tell, you can't put ifeq()'s inside of targets # tell, you can't put ifeq()'s inside of targets
......
...@@ -49,6 +49,17 @@ endif ...@@ -49,6 +49,17 @@ endif
$(MAKE) -C dijkstra client-install $(MAKE) -C dijkstra client-install
$(MAKE) -C genhostsfile client-install $(MAKE) -C genhostsfile client-install
mfs:
ifneq ($(SYSTEM),Linux)
$(MAKE) -C imagezip client
endif
mfs-install: mfs
ifneq ($(SYSTEM),Linux)
$(INSTALL_PROGRAM) $(SRCDIR)/create-image $(LBINDIR)/create-image
$(MAKE) -C imagezip client-install
endif
remote-install: remote-install:
$(INSTALL) -m 755 -o root -g wheel -d $(LBINDIR) $(INSTALL) -m 755 -o root -g wheel -d $(LBINDIR)
$(INSTALL_PROGRAM) $(SRCDIR)/install-tarfile $(LBINDIR)/install-tarfile $(INSTALL_PROGRAM) $(SRCDIR)/install-tarfile $(LBINDIR)/install-tarfile
......
...@@ -32,6 +32,12 @@ client-install: client ...@@ -32,6 +32,12 @@ client-install: client
@$(MAKE) -C slothd client-install @$(MAKE) -C slothd client-install
@$(MAKE) -C canaryd client-install @$(MAKE) -C canaryd client-install
# mfs: same as client for now
mfs:
@$(MAKE) -C slothd client
mfs-install: mfs
@$(MAKE) -C slothd client-install
clean: subdir-clean clean: subdir-clean
subdir-clean: subdir-clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment