On Fri, 5 Apr 2013, Phil Dibowitz wrote: >>> .. took some debugging to get the udev dhcp stuff to work right. with a >>> --prefix=/usr we install udev stuff in /usr/lib/udev but it should be in >>> /lib/udev (at least in Debian) - but after that it worked great. >> >> Hmmm, so we don't respect the 'PREFIX'? I'll have to take a look. > > Here's the best diff I can come up with to fix it. > > --- Makefile.am 3 Apr 2013 06:13:55 -0000 1.11.2.7 > +++ Makefile.am 5 Apr 2013 16:36:56 -0000 > @@ -7,21 +7,23 @@ > operationfile.cpp remote_mh.cpp > include_HEADERS = libconcord.h > libconcord_la_LDFLAGS = -version-info 2:0:0 -lusb -lzzip > +UDEVROOT ?= / > +UDEVLIBDIR ?= $(UDEVROOT)/lib > > # udev and friends support > udev: > ./gen_udev_support -u > > install_udev_generic: > - $(MKDIR_P) $(DESTDIR)$(libdir)/udev/rules.d > + $(MKDIR_P) $(DESTDIR)$(UDEVLIBDIR)/udev/rules.d > $(install_sh_DATA) libconcord.rules \ > - $(DESTDIR)$(libdir)/udev/rules.d/60-libconcord.rules > + $(DESTDIR)$(UDEVLIBDIR)/udev/rules.d/60-libconcord.rules > $(install_sh_DATA) libconcord-usbnet.rules \ > - $(DESTDIR)$(libdir)/udev/rules.d/80-libconcord-usbnet.rules > + $(DESTDIR)$(UDEVLIBDIR)/udev/rules.d/80-libconcord-usbnet.rules > $(install_sh_SCRIPT) start_concordance_dhcpd.sh \ > - $(DESTDIR)$(libdir)/udev/ > + $(DESTDIR)$(UDEVLIBDIR)/udev/ > $(install_sh_SCRIPT) start_concordance_dhcpd_wrapper.sh \ > - $(DESTDIR)$(libdir)/udev/ > + $(DESTDIR)$(UDEVLIBDIR)/udev/ > > install_udev: udev install_udev_generic
Seems good to me. ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel