aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-19 11:33:21 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-11-01 15:34:38 -0700
commit3c82042fe814404e409351f73c40f992344e50ea (patch)
treec7d6f056cb985abb7e52f6a8dbb34ff9445e758a
parent376d583656392508d462e6a754d804d1da7e0325 (diff)
downloadsyslinux-elf-3c82042fe814404e409351f73c40f992344e50ea.tar.gz
syslinux-elf-3c82042fe814404e409351f73c40f992344e50ea.tar.xz
syslinux-elf-3c82042fe814404e409351f73c40f992344e50ea.zip
Fix [BI]ESUBDIRS for make installer/tidy/clean/spotless
Fix the handling of [BI]ESUBDIRS for other targets than "all".
-rw-r--r--Makefile10
-rw-r--r--mbr/Makefile2
2 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 77a7557c..73b06b42 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,9 @@ all:
all-local: $(BTARGET) $(ITARGET) $(BINFILES)
-installer: installer-local
+installer:
+ set -e ; for i in $(IESUBDIRS); do $(MAKE) -C $$i all ; done
+ $(MAKE) installer-local
set -e ; for i in $(ISUBDIRS); do $(MAKE) -C $$i all ; done
-ls -l $(BOBJECTS) $(IOBJECTS)
@@ -216,13 +218,13 @@ local-tidy:
rm -f $(OBSOLETE)
tidy: local-tidy
- set -e ; for i in $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
+ set -e ; for i in $(BESUBDIRS) $(IESUBDIRS) $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
local-clean:
rm -f $(ITARGET)
clean: local-tidy local-clean
- set -e ; for i in $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
+ set -e ; for i in $(BESUBDIRS) $(IESUBDIRS) $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
dist: tidy
for dir in . sample memdisk ; do \
@@ -233,7 +235,7 @@ local-spotless:
rm -f $(BTARGET) .depend *.so.*
spotless: local-clean dist local-spotless
- set -e ; for i in $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
+ set -e ; for i in $(BESUBDIRS) $(IESUBDIRS) $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done
.depend:
rm -f .depend
diff --git a/mbr/Makefile b/mbr/Makefile
index 87744131..e41b25c7 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -47,3 +47,5 @@ tidy:
clean: tidy
rm -f *.bin
+
+spotless: clean