# HG changeset patch # User bartv # Date 1048807044 0 # Node ID 2de825c0df6c567f435d68f8906e96597a4b15cc # Parent 8122b0a3018bc04d1ae624e027bf70fe8137e328 Fix obscure "make install" problem, $(bindir) may not exist yet so needs to be created diff --git a/packages/io/usb/slave/current/ChangeLog b/packages/io/usb/slave/current/ChangeLog --- a/packages/io/usb/slave/current/ChangeLog +++ b/packages/io/usb/slave/current/ChangeLog @@ -1,3 +1,8 @@ +2003-03-27 Bart Veer + + * host/Makefile.am, host/Makefile.in: + $(bindir) may not exist yet, so create it if necessary. + 2003-02-25 Jonathan Larmour * doc/usbs.sgml: Declare as not to get diff --git a/packages/io/usb/slave/current/host/Makefile.am b/packages/io/usb/slave/current/host/Makefile.am --- a/packages/io/usb/slave/current/host/Makefile.am +++ b/packages/io/usb/slave/current/host/Makefile.am @@ -92,6 +92,7 @@ usbchmod_SOURCES = usbchmod.c ## the new executable. ## 2) usbchmod needs to be suid root install-exec-hook: + $(mkinstalldirs) $(bindir) $(INSTALL_PROGRAM) usbhost $(bindir)/usbhost_@PACKAGE_VERSION@ rm -f $(bindir)/usbhost $(LN_S) $(bindir)/usbhost_@PACKAGE_VERSION@ $(bindir)/usbhost diff --git a/packages/io/usb/slave/current/host/Makefile.in b/packages/io/usb/slave/current/host/Makefile.in --- a/packages/io/usb/slave/current/host/Makefile.in +++ b/packages/io/usb/slave/current/host/Makefile.in @@ -443,6 +443,7 @@ mostlyclean distclean maintainer-clean @SUPPORTED_TRUE@install-exec-hook: +@SUPPORTED_TRUE@ $(mkinstalldirs) $(bindir) @SUPPORTED_TRUE@ $(INSTALL_PROGRAM) usbhost $(bindir)/usbhost_@PACKAGE_VERSION@ @SUPPORTED_TRUE@ rm -f $(bindir)/usbhost @SUPPORTED_TRUE@ $(LN_S) $(bindir)/usbhost_@PACKAGE_VERSION@ $(bindir)/usbhost