]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/osd_login/Makefile.am
osd_login - ensure /sbin is created before installation.
[nfs-utils.git] / utils / osd_login / Makefile.am
index adc493a37710684f2328b75ac5366c96d0ac315e..20c2d8c9027ff0fe34ab6c5f4484d2264f5fc009 100644 (file)
@@ -1,12 +1,9 @@
 ## Process this file with automake to produce Makefile.in
 
-OSD_LOGIN_FILES= osd_login
+# These binaries go in /sbin (not /usr/sbin), and that cannot be
+# overridden at config time.
+sbindir = /sbin
 
-EXTRA_DIST= $(OSD_LOGIN_FILES)
-
-all-local: $(OSD_LOGIN_FILES)
-
-install-data-hook:
-       $(INSTALL) --mode 755 osd_login $(DESTDIR)/sbin/osd_login
+sbin_SCRIPTS = osd_login
 
 MAINTAINERCLEANFILES = Makefile.in