mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
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.
This commit is contained in:
parent
39f0b3ca13
commit
fc49094260
9
Makefile
9
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 $@)
|
||||
|
Loading…
Reference in New Issue
Block a user