aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-23 04:07:06 +0000
committerRoland McGrath <roland@gnu.org>2004-10-23 04:07:06 +0000
commit556e06df466df56066f7154ea6c14dd4b3193ea4 (patch)
tree1d6c61db87b13347f7ca7b74159093b926fb7f80 /Makeconfig
parent3696a6e9f1ec36503443e0d322060b9fc6878a49 (diff)
downloadglibc-556e06df466df56066f7154ea6c14dd4b3193ea4.tar.xz
glibc-556e06df466df56066f7154ea6c14dd4b3193ea4.zip
2004-10-22 Roland McGrath <roland@frob.com>
* Makefile (dist, dist-ports): New target. (dist-port-%): New pattern rule. * Makeconfig [!subdir] (ports/%): New pattern rule.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index 20a0f08cca..92158bef1c 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -33,3 +33,9 @@ $(..)ports/sysdeps/%/preconfigure: $(..)ports/sysdeps/%/preconfigure.in \
$(autoconf-it)
endif # $(AUTOCONF) = no
+
+# This allows e.g. `make ports/dist' from a build directory.
+ifndef subdir
+ports/%:
+ $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
+endif