Skip to content
Snippets Groups Projects
Commit 20f130c4 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add mkdir log/locks/lists to install so that everything is happy.

parent ee6f157c
No related branches found
No related tags found
No related merge requests found
...@@ -12,11 +12,19 @@ include Makeconf ...@@ -12,11 +12,19 @@ include Makeconf
SUBDIRS = lib assign discvr tbsetup db os security pxe tmcd www tip capture SUBDIRS = lib assign discvr tbsetup db os security pxe tmcd www tip capture
all: all-subdirs all: all-subdirs
install: install-subdirs
install: install-subdirs install-mkdirs
@echo "DON'T FORGET TO RUN A POST-INSTALL AS ROOT" @echo "DON'T FORGET TO RUN A POST-INSTALL AS ROOT"
post-install: post-install:
@$(MAKE) -C tbsetup post-install @$(MAKE) -C tbsetup post-install
@$(MAKE) -C security post-install @$(MAKE) -C security post-install
install-mkdirs:
-mkdir -p $(INSTALL_TOPDIR)/locks
-mkdir -p $(INSTALL_TOPDIR)/log
-mkdir -p $(INSTALL_TOPDIR)/lists
clean: clean-subdirs clean: clean-subdirs
distclean: distclean-subdirs distclean: distclean-subdirs
rm -f Makeconf GNUmakefile config.status config.cache config.log rm -f Makeconf GNUmakefile config.status config.cache config.log
...@@ -31,7 +39,7 @@ distclean: distclean-subdirs ...@@ -31,7 +39,7 @@ distclean: distclean-subdirs
# By default, make any target by descending into subdirectories. # By default, make any target by descending into subdirectories.
%: %-subdirs ; %: %-subdirs ;
.PHONY: post-install .PHONY: post-install install-mkdirs
# Get rid of a bunch of nasty built-in implicit rules. # Get rid of a bunch of nasty built-in implicit rules.
.SUFFIXES: .SUFFIXES:
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