hal/tools Makefile.am,1.11,1.12
Joe Shaw
joe at freedesktop.org
Fri Jan 7 11:21:16 PST 2005
Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv15611/tools
Modified Files:
Makefile.am
Log Message:
2005-01-07 Joe Shaw <joeshaw at novell.com>
* configure.in: Check for popt when building fstab-sync and error
out if it's not found.
* tools/Makefile.am: Build fstab-sync conditionally based on
whether --enable-fstab-sync is passed in.
Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/tools/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile.am 14 Oct 2004 18:37:28 -0000 1.11
+++ Makefile.am 7 Jan 2005 19:21:14 -0000 1.12
@@ -10,7 +10,10 @@
@PACKAGE_CFLAGS@
bin_PROGRAMS = lshal hal-get-property hal-set-property
+
+if FSTAB_SYNC_ENABLED
sbin_PROGRAMS = fstab-sync
+endif
lshal_SOURCES = lshal.c
lshal_LDADD = @PACKAGE_LIBS@ $(top_builddir)/libhal/libhal.la
@@ -21,10 +24,10 @@
hal_set_property_SOURCES = hal_set_property.c
hal_set_property_LDADD = @DBUS_LIBS@ $(top_builddir)/libhal/libhal.la
+if FSTAB_SYNC_ENABLED
fstab_sync_SOURCES = fstab-sync.c
fstab_sync_LDADD = -lpopt $(top_builddir)/libhal/libhal.la $(top_builddir)/libhal-storage/libhal-storage.la
-if FSTAB_SYNC_ENABLED
install-data-local :
$(mkinstalldirs) $(DESTDIR)$(SYSCONFDIR)/hal/device.d
- cd $(DESTDIR)$(SYSCONFDIR)/hal/device.d && $(LN_S) $(sbindir)/fstab-sync 50-fstab-sync.hal
More information about the hal-commit
mailing list