changeset 3416:8ed872f9dbc7

nettle.mk: Avoid install errors in subdirs.
author John W. Eaton <jwe@octave.org>
date Sun, 12 Jan 2014 17:11:15 -0500
parents a70e260220fc
children 1ac93670d0bc
files src/nettle.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/nettle.mk	Sun Jan 12 17:10:25 2014 -0500
+++ b/src/nettle.mk	Sun Jan 12 17:11:15 2014 -0500
@@ -47,7 +47,7 @@
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         $(ENABLE_SHARED_OR_STATIC) \
         --prefix='$(HOST_PREFIX)'
-    $(MAKE) -C '$(1)' -j '$(JOBS)'
-    $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
+    $(MAKE) -C '$(1)' -j '$(JOBS)' SUBDIRS=
+    $(MAKE) -C '$(1)' -j 1 SUBDIRS= install DESTDIR='$(3)'
 endef
 endif