summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Parks <danielrparks@ti.com>2022-06-03 15:34:59 -0500
committerPavel Shilovsky <pshilovsky@samba.org>2024-03-26 01:15:14 +0000
commit25d6552c7d8b9fe2ca9dbf85c74c9330e4dd7770 (patch)
tree9e47af1da80b193e8ea0e0f7bf2508d138d0bf77 /Makefile.am
parentdac330136368a9b8d9ccf8227f56ea35de57a4d2 (diff)
downloadcifs-utils-25d6552c7d8b9fe2ca9dbf85c74c9330e4dd7770.tar.gz
cifs-utils-25d6552c7d8b9fe2ca9dbf85c74c9330e4dd7770.tar.bz2
cifs-utils-25d6552c7d8b9fe2ca9dbf85c74c9330e4dd7770.zip
cifs-utils: Make automake treat /sbin as exec, not data
Otherwise, $(DESTDIR)/sbin doesn't get created until install-data on a -j1 build and install-exec-hook can fail because it might not exist. Steps to reproduce this bug: $ autoreconf -i $ ./configure $ mkdir image $ make DESTDIR=image install -j1 Signed-off-by: Daniel Parks <danielrparks@ti.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a15392d..1a22266 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,8 @@
AM_CFLAGS = -Wall -Wextra -D_FORTIFY_SOURCE=2 $(PIE_CFLAGS) $(RELRO_CFLAGS)
ACLOCAL_AMFLAGS = -I aclocal
-root_sbindir = $(ROOTSBINDIR)
-root_sbin_PROGRAMS = mount.cifs
+root_exec_sbindir = $(ROOTSBINDIR)
+root_exec_sbin_PROGRAMS = mount.cifs
mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD)
include_HEADERS = cifsidmap.h