hal/tools Makefile.am,1.7,1.8

David Zeuthen david at freedesktop.org
Mon Aug 23 11:44:25 PDT 2004


Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv14513/tools

Modified Files:
	Makefile.am 
Log Message:
2004-08-23  David Zeuthen  <david at fubar.dk>

	* tools/Makefile.am (install-data-local): Install the fstab-sync
	if applicable.

	* configure.in: Add the --enable-fstab-sync option to automatically
	install a 50-fstab-sync.hal symlink to fstab-sync.



Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/tools/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.am	15 Jul 2004 21:32:05 -0000	1.7
+++ Makefile.am	23 Aug 2004 18:44:23 -0000	1.8
@@ -25,5 +25,12 @@
 fstab_sync_SOURCES = fstab-sync.c
 fstab_sync_LDADD = -lpopt $(top_builddir)/libhal/libhal.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
+endif
+## FSTAB_SYNC_INSTALL end
+
 clean-local :
 	rm -f *~




More information about the hal-commit mailing list