diff options
author | Roland McGrath <roland@gnu.org> | 2005-05-24 06:13:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-05-24 06:13:03 +0000 |
commit | fc490942606ac2394160ab6f12cac100038c8929 (patch) | |
tree | bccc6ca0dce28647a15d2759b1130efb22051bf5 /Makefile | |
parent | 39f0b3ca13d547a896666a85d5aed63e601c98ec (diff) | |
download | glibc-fc490942606ac2394160ab6f12cac100038c8929.tar.gz glibc-fc490942606ac2394160ab6f12cac100038c8929.tar.xz glibc-fc490942606ac2394160ab6f12cac100038c8929.zip |
2005-03-22 Roland McGrath <roland@redhat.com>
* Makefile ($(distname).tar): Fail if sysdeps/.../configure files are not all up to date. Touch configure files after cvs export. (glibc-port-%-$(dist-version).tar): Likewise.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile index a65257be82..d1cbbef489 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,14 @@ dist-ports: $(foreach Z,.bz2 .gz,$(distname).tar$Z) md5sum $^ $(distname).tar: @rm -fr $(basename $@) + $(MAKE) -q `find sysdeps -name configure` $(do-export) ports + find $(basename $@) -name configure -print | xargs touch tar cf $@ $(basename $@) rm -fr $(basename $@) +sysdeps-of-stem = sysdeps/$* sysdeps/unix/sysv/linux/$* + .PRECIOUS: %.gz %.bz2 # Don't delete output as intermediate files. dist-port-%: $(foreach Z,.bz2 .gz,glibc-port-%-$(dist-version).tar$Z) md5sum $^ @@ -33,9 +37,10 @@ glibc-port-%-$(dist-version).tar: configure ChangeLog @rm -fr $(basename $@) $(do-export) -l ports rm -f $(basename $@)/ChangeLog.[a-z]* - $(do-export) ports/ChangeLog.$* \ - ports/sysdeps/$* ports/sysdeps/unix/sysv/linux/$* + $(MAKE) -q `find $(sysdeps-of-stem) -name configure` + $(do-export) ports/ChangeLog.$* $(addprefix ports/,$(sysdeps-of-stem)) mv $(basename $@)/ports/* $(basename $@)/ rmdir $(basename $@)/ports + find $(basename $@) -name configure -print | xargs touch tar cf $@ $(basename $@) rm -fr $(basename $@) |