Commit a9b5b6a3 authored by panne's avatar panne
Browse files

[project @ 2002-02-17 13:46:39 by panne]

Guard against empty ALL_DIRS
parent 73d2734a
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# $Id: package.mk,v 1.5 2002/02/14 15:14:00 simonmar Exp $ # $Id: package.mk,v 1.6 2002/02/17 13:46:39 panne Exp $
ifneq "$(PACKAGE)" "" ifneq "$(PACKAGE)" ""
...@@ -79,10 +79,12 @@ override datadir:=$(libdir)/imports/$(PACKAGE) ...@@ -79,10 +79,12 @@ override datadir:=$(libdir)/imports/$(PACKAGE)
# structure when we install the interfaces. # structure when we install the interfaces.
ifeq "$(HIERARCHICAL_LIB)" "YES" ifeq "$(HIERARCHICAL_LIB)" "YES"
INSTALL_DATAS_WITH_DIRS += $(HS_IFACES) INSTALL_DATAS_WITH_DIRS += $(HS_IFACES)
ifneq "$(ALL_DIRS)" ""
install :: install ::
@for i in $(ALL_DIRS); do \ @for i in $(ALL_DIRS); do \
$(INSTALL_DIR) $(datadir)/$$i; \ $(INSTALL_DIR) $(datadir)/$$i; \
done done
endif
else else
INSTALL_DATAS += $(HS_IFACES) INSTALL_DATAS += $(HS_IFACES)
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment