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
5249d8c6
Commit
5249d8c6
authored
May 26, 2014
by
Leigh B Stoller
Browse files
Ad DISABLE_NAMED_INSTALL.
parent
8399a6d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
named/GNUmakefile.in
View file @
5249d8c6
...
...
@@ -35,6 +35,7 @@ TESTBED_NETWORK = @TESTBED_NETWORK@
EXTERNAL_TESTBED_NETWORK = @EXTERNAL_TESTBED_NETWORK@
IPV6_ENABLED = @IPV6_ENABLED@
IPV6_SUBNET_PREFIX = @IPV6_SUBNET_PREFIX@
DISABLE_NAMED_INSTALL = @DISABLE_NAMED_INSTALL@
REVERSE_MAPNAME = \
$(shell echo @TESTBED_NETWORK@ | sed -e 's,.0$$,,')
...
...
@@ -92,7 +93,16 @@ install:
@echo "Are you sure you want to reinstall the namedb files!"
@echo "Use the install-real target if you are sure"
install-real: resolv.conf \
ifeq ($(DISABLE_NAMED_INSTALL),0)
install-real: install-real-force
else
install-real:
@echo "Refusing to install cause DISABLE_NAMED_INSTALL=1";
@echo "Use the install-real-force target if you are sure"
endif
install-real-force: \
resolv.conf \
$(NAMEDB_DIR)/named.conf \
$(NAMEDB_DIR)/localhost.rev \
$(NAMEDB_DIR)/$(OURDOMAIN).db.head \
...
...
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