Sorry for the mess
Danny Kukawka
danny.kukawka at web.de
Wed May 17 15:03:26 PDT 2006
On Wednesday 17 May 2006 23:25, Joe Marcus Clarke wrote:
> There is still the pending issue with the OS-specific backend scripts
> being installed on all platforms (i.e. FreeBSD scripts installed on
> Linux). I sent an email out a few days ago asking what the best
> solution would be for this problem. Any comments? Thanks.
You can also add detect freebsd in configure and set HALD_COMPILE_FREEBSD (or
something like that, but IMO we can also use this key) and do something like
in this patch (untested) ...
Danny
Index: tools/Makefile.am
===================================================================
RCS file: /cvs/hal/hal/tools/Makefile.am,v
retrieving revision 1.39
diff -u -3 -p -r1.39 Makefile.am
--- tools/Makefile.am 14 May 2006 18:49:53 -0000 1.39
+++ tools/Makefile.am 17 May 2006 22:01:19 -0000
@@ -1,6 +1,15 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = freebsd linux device-manager
+if HALD_COMPILE_LINUX2
+SUBDIRS = linux device-manager
+endif
+if HALD_COMPILE_SOLARIS
+SUBDIRS = solaris device-manager
+endif
+if HALD_COMPILE_FREEBSD
+SUBDIRS = freebsd device-manager
+endif
INCLUDES = \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
More information about the hal
mailing list