[RFC] src/Makefile.in skip CVS directories in archive
Andrew Cagney
ac131313@cygnus.com
Mon May 15 17:23:00 GMT 2000
FYI,
I've committed the below. It has been used by gdb 5.0 for some time
without problems.
Andrew
Andrew Cagney wrote:
>
> Andrew Cagney wrote:
> >
> > Hello,
> >
> > The attached patch changes the rules for:
> >
> > do-tar-bz2:
> > and do-md5sum:
> >
> > so that CVS directories are explicitly skipped when creating the
> > .tar.bz2 and md5.sum files.
> > I can see two concerns with the change:
> >
> > o The archive process shouldn't assume
> > CVS directories and shouldn't remove them.
> >
> > o For the tar-bz2, it makes use of GNU tar's
> > -T flag making the release process somewhat
> > platform dependant.
> >
> > Thoughts?
> >
> > Andrew
>
> Er, try again... sorry.
> Andrew
>
> ------------------------------------------------------------------------
> Thu Apr 27 11:01:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
>
> * Makefile.in (do-tar-bz2, do-md5sum): Skip CVS directories.
>
> Index: Makefile.in
> ===================================================================
> RCS file: /cvs/src/src/Makefile.in,v
> retrieving revision 1.12.2.3
> diff -p -r1.12.2.3 Makefile.in
> *** Makefile.in 2000/04/26 07:28:22 1.12.2.3
> --- Makefile.in 2000/04/27 01:09:13
> *************** do-proto-toplev: $(DEVO_SUPPORT) $(SUPPO
> *** 1793,1805 ****
> .PHONY: do-tar-bz2
> do-tar-bz2:
> echo "==> Making $(PACKAGE)-$(VER).tar.bz2"
> ! tar cfh $(PACKAGE)-$(VER).tar $(PACKAGE)-$(VER)
> $(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
>
> .PHONY: do-md5sum
> do-md5sum:
> echo "==> Adding md5 checksum to top-level directory"
> ! ( cd proto-toplev && find * -follow -type f -print | xargs $(MD5PROG) ) > md5.sum
> mv md5.sum proto-toplev
>
> .PHONY: do-djunpack
> --- 1793,1808 ----
> .PHONY: do-tar-bz2
> do-tar-bz2:
> echo "==> Making $(PACKAGE)-$(VER).tar.bz2"
> ! -rm -f $(PACKAGE)-$(VER).tar.bz2
> ! find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
> ! | tar cTfh - $(PACKAGE)-$(VER).tar
> $(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
>
> .PHONY: do-md5sum
> do-md5sum:
> echo "==> Adding md5 checksum to top-level directory"
> ! cd proto-toplev && find * -follow -name CVS -prune -o -type f -print \
> ! | xargs $(MD5PROG) > ../md5.sum
> mv md5.sum proto-toplev
>
> .PHONY: do-djunpack
More information about the Gdb-patches
mailing list