summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-16 06:52:32 +0000
committerRoland McGrath <roland@gnu.org>1996-06-16 06:52:32 +0000
commit6a441471712cfa78ae0b706b7d7529612b37338e (patch)
tree3b4ba785c8021ab1fd9bc16f670b7b33a507298c /Makefile
parenta3b5844025aa90fd28f3bf5a27be116852761f4e (diff)
downloadglibc-6a441471712cfa78ae0b706b7d7529612b37338e.tar.gz
Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* rpm/template: New file. * rpm/Makefile: New file. * Makeconfig (sysdep-configures): Remove empty variable. * Makerules (distinfo-vars): Write defns for $(install-lib.so) and $(versioned). * manual/Makefile (subdir_%): Add new rule with no deps, secondary to to rule w/dep on %, with no-op commands. * Makerules (subdir_distinfo): New phony target; depend on distinfo. * Makefile (rpm/%): New rule. (+subdir_targets): Add subdir_distinfo. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add fpu_control.h here.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb1656e828..39c812cc50 100644
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,7 @@ subdirs := $(filter mach,$(subdirs)) $(filter hurd,$(subdirs)) \
+subdir_targets := subdir_lib objects objs others subdir_mostlyclean \
subdir_clean subdir_distclean subdir_realclean \
tests subdir_lint.out \
+ subdir_distinfo \
subdir_echo-headers subdir_echo-distinfo \
subdir_install $(addprefix install-, \
no-libc.a bin lib \
@@ -219,6 +220,7 @@ echo-distinfo: parent_echo-distinfo subdir_echo-distinfo
parent_echo-distinfo:
@echo $(addprefix +header+,$(headers)) \
$(addprefix +nodist+,$(generated))
+
# Make the distribution tarfile.
@@ -244,3 +246,6 @@ makeinfo --no-validate --no-warn --no-headers $< -o $@
endef
INSTALL: manual/maint.texi; $(format-me)
NOTES: manual/creature.texi; $(format-me)
+
+rpm/%: subdir_distinfo
+ $(MAKE) -C $(@D) subdirs='$(subdirs)' $(@F)