|
|
aea863 |
autofs-5.1.4 - Makefiles.rules: remove 'samples' from SUBDIRS
|
|
|
aea863 |
|
|
|
aea863 |
From: NeilBrown <neilb@suse.com>
|
|
|
aea863 |
|
|
|
aea863 |
The rules in Makefile make it quite clear that
|
|
|
aea863 |
'samples' is not expected to be part of SUBDIRS.
|
|
|
aea863 |
e.g.
|
|
|
aea863 |
- The rule for "clean" handles both $(SUBDIRS) *and* samples.
|
|
|
aea863 |
- There are separate "install" and "install_samples" targets.
|
|
|
aea863 |
|
|
|
aea863 |
However SUBDIRS does contain 'samples'. This means that
|
|
|
aea863 |
a simple "make; make install" will over-write your configuration files.
|
|
|
aea863 |
|
|
|
aea863 |
So remove 'samples' from SUBDIRS. Note that it has been removed in
|
|
|
aea863 |
the past, but then got added back again.
|
|
|
aea863 |
|
|
|
aea863 |
Signed-off-by: NeilBrown <neilb@suse.com>
|
|
|
aea863 |
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
|
aea863 |
---
|
|
|
aea863 |
CHANGELOG | 1 +
|
|
|
aea863 |
Makefile.rules | 2 +-
|
|
|
aea863 |
autofs.spec | 6 ++++++
|
|
|
aea863 |
3 files changed, 8 insertions(+), 1 deletion(-)
|
|
|
aea863 |
|
|
|
aea863 |
diff --git a/CHANGELOG b/CHANGELOG
|
|
|
aea863 |
index 313730b1..1e5ec15b 100644
|
|
|
aea863 |
--- a/CHANGELOG
|
|
|
aea863 |
+++ b/CHANGELOG
|
|
|
aea863 |
@@ -11,6 +11,7 @@ xx/xx/2018 autofs-5.1.5
|
|
|
aea863 |
- account for recent libnsl changes.
|
|
|
aea863 |
- use_hostname_for_mounts shouldn't prevent selection among replicas.
|
|
|
aea863 |
- fix monotonic_elapsed.
|
|
|
aea863 |
+- Makefiles.rules: remove 'samples' from SUBDIRS.
|
|
|
aea863 |
|
|
|
aea863 |
19/12/2017 autofs-5.1.4
|
|
|
aea863 |
- fix spec file url.
|
|
|
aea863 |
diff --git a/Makefile.rules b/Makefile.rules
|
|
|
aea863 |
index 2bfa043c..4deab3b9 100644
|
|
|
aea863 |
--- a/Makefile.rules
|
|
|
aea863 |
+++ b/Makefile.rules
|
|
|
aea863 |
@@ -3,7 +3,7 @@
|
|
|
aea863 |
#
|
|
|
aea863 |
|
|
|
aea863 |
# Root directory contents
|
|
|
aea863 |
-SUBDIRS = lib daemon modules man samples
|
|
|
aea863 |
+SUBDIRS = lib daemon modules man
|
|
|
aea863 |
INCDIRS = include
|
|
|
aea863 |
INCFILES = COPYING COPYRIGHT NEWS README* TODO Makefile Makefile.rules \
|
|
|
aea863 |
Makefile.conf.in .version .autofs-* configure.in aclocal.m4 \
|
|
|
aea863 |
diff --git a/autofs.spec b/autofs.spec
|
|
|
aea863 |
index 6da0655d..57d8db46 100644
|
|
|
aea863 |
--- a/autofs.spec
|
|
|
aea863 |
+++ b/autofs.spec
|
|
|
aea863 |
@@ -121,6 +121,12 @@ install -m 755 redhat/autofs.init $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
|
|
|
aea863 |
install -m 644 redhat/autofs.conf $RPM_BUILD_ROOT/etc/autofs.conf
|
|
|
aea863 |
install -m 644 redhat/autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs
|
|
|
aea863 |
|
|
|
aea863 |
+install -m 644 samples/auto.master $RPM_BUILD_ROOT/etc/auto.master
|
|
|
aea863 |
+install -m 644 samples/auto.misc $RPM_BUILD_ROOT/etc/auto.misc
|
|
|
aea863 |
+install -m 644 samples/auto.net $RPM_BUILD_ROOT/etc/auto.net
|
|
|
aea863 |
+install -m 644 samples/auto.smb $RPM_BUILD_ROOT/etc/auto.smb
|
|
|
aea863 |
+install -m 600 samples/autofs_ldap_auth.conf $RPM_BUILD_ROOT/etc/autofs_ldap_auth.conf
|
|
|
aea863 |
+
|
|
|
aea863 |
%clean
|
|
|
aea863 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
aea863 |
|