rules.mk: Fix $(TOPDIR)/dir_build_XX.done and $(TOPDIR)/dir_install_XX.done rules

This commit is contained in:
Jan Lindemann 2007-09-04 21:52:07 +00:00 committed by Jan Lindemann
commit c5b15e99d5

View file

@ -259,7 +259,7 @@ build_$(1): $$(TOPDIR)/dir_build_$(1).done $$(BUILD_$(1))
#install_dir_$(1): $$(TOPDIR)/dir_install_$(1).done
install_$(1): $$(TOPDIR)/dir_install_$(1).done $$(INSTALLED_$(1))
$(TOPDIR)/dir_build_$(1).done:
$$(TOPDIR)/dir_build_$(1).done:
mkdir -p $$(BUILD_$(1)DIR)
touch $$@
@ -270,7 +270,7 @@ $$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done
install -m $($(1)MODE) $$< $$@ ;\
fi
$(TOPDIR)/dir_install_$(1).done:
$$(TOPDIR)/dir_install_$(1).done:
@if [ -n "$$(INSTALL_$(1)DIR)" ]; then \
$$(INSTALL) -d -o $$($(1)DIROWNER) -g $$($(1)DIRGROUP) -m $$($(1)DIRMODE) $$(INSTALL_$(1)DIR) ;\
echo $$(INSTALL) -d -o $$($(1)DIROWNER) -g $$($(1)DIRGROUP) -m $$($(1)DIRMODE) $$(INSTALL_$(1)DIR) ;\