Integrate static packaing into the CVS HEAD; make it even default.
[captive.git] / src / client / fuse / Makefile.am
index 444a6e4..d551212 100644 (file)
@@ -68,7 +68,7 @@ mount_captive_CFLAGS=                   $(GNOME_VFS_CFLAGS) $(FUSE_CFLAGS)
 mount_captive_LDADD =$(captive_library) $(GNOME_VFS_LIBS)   $(FUSE_LIBS)   $(INTLLIBS)
 mount_captive_LDFLAGS=$(READLINE_LDFLAGS)
 
-mount_captive_CFLAGS+=-DSBINDIR="$(sbindir)"
+mount_captive_CFLAGS+=-DLIBEXECDIR="$(libexecdir)"
 mount_captive_CFLAGS+=-DVARLIBCAPTIVEDIR="$(localstatedir)/lib/$(PACKAGE)"
 
 if ENABLE_FUSE
@@ -97,7 +97,7 @@ install-exec-hook:
        @true
 
 endif
-bin_PROGRAMS+=$(mount_captive_cond)
+enable_sbin_mount_PROGRAMS=$(mount_captive_cond)
 
 EXTRA_DIST+=mount.captive.pod.pl.in
 CLEANFILES+=mount.captive.pod mount.captive.1
@@ -111,8 +111,7 @@ endif
 endif
 man_MANS=$(mount_captive_man_cond)
 
-initddir=$(sysconfdir)/init.d
-initd_SCRIPTS=$(captive_cond)
+initd_SCRIPTS=$(initd_SCRIPTS_cond)
 EXTRA_DIST+=captive.init
 CLEANFILES+=captive
 captive: captive.init