X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmount%2FMakefile.am;h=500c4295729772ac80ee7fb785850db87ff3c519;hb=e8c2f652125bf15f7e3c8ee3c05cd2b1b7b6af14;hp=4a2f43728de4317abe383e6ad12af97d494d6b08;hpb=940c7c304d4a43c00c27529cdddc7c87db6eef87;p=nfs-utils.git diff --git a/utils/mount/Makefile.am b/utils/mount/Makefile.am index 4a2f437..500c429 100644 --- a/utils/mount/Makefile.am +++ b/utils/mount/Makefile.am @@ -1,5 +1,9 @@ ## Process this file with automake to produce Makefile.in +# These binaries go in /sbin (not /usr/sbin), and that cannot be +# overriden at config time. +sbindir = /sbin + man8_MANS = mount.nfs.man umount.nfs.man sbin_PROGRAMS = mount.nfs @@ -14,9 +18,9 @@ MAINTAINERCLEANFILES = Makefile.in install-exec-hook: (cd $(DESTDIR)$(sbindir) && \ - ln -sf $(sbin_PROGRAMS) mount.nfs4 && \ - ln -sf $(sbin_PROGRAMS) umount.nfs && \ - ln -sf $(sbin_PROGRAMS) umount.nfs4) + ln -sf mount.nfs mount.nfs4 && \ + ln -sf mount.nfs umount.nfs && \ + ln -sf mount.nfs umount.nfs4) uninstall-hook: (cd $(DESTDIR)$(sbindir) && \ rm -f mount.nfs4 umount.nfs umount.nfs4)