summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-17 15:46:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-17 15:46:17 +0000
commit29463f17c5fe49f6b0f3c1aba59fb739e2d81f5a (patch)
treee2b4e4341a4b9ef34f93901694c8981453518f91 /config
parentd0b13df9ddf4db35b6194935d7f023f6e414f71c (diff)
Initial revision
Diffstat (limited to 'config')
-rw-r--r--config/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/config/Makefile b/config/Makefile
new file mode 100644
index 00000000..61d91895
--- /dev/null
+++ b/config/Makefile
@@ -0,0 +1,43 @@
+#
+# Copyright (C) 1996 Free Software Foundation, Inc.
+# Written by Michael I. Bushnell, p/BSG.
+#
+# This file is part of the GNU Hurd.
+#
+# The GNU Hurd is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# The GNU Hurd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+
+dir := config
+makemode := misc
+
+# Files that are copied verbatim to $(sysconfdir). But we never want
+# to overwrite an existing file. Print a warning for such files.
+# If override_conf is set to `t' then install even on top of existing
+# files.
+SYSCONFFILES = rc
+installed_conf = $(addprefix $(sysconfdir)/$(SYSCONFFILES))
+
+ifeq ($(override_conf),t)
+foo=$(shell touch /dev/null)
+override_spec = /dev/null
+else
+override_spec =
+endif
+
+install: $(installed_conf)
+$(installed_conf): $(sysconfdir)/%: %
+ $(INSTALL_DATA) $< $@
+
+include ../Makeconf
+