From 3ce60078293dd1b2cdf46841fe41afd80913c698 Mon Sep 17 00:00:00 2001 From: Ethan Benson Date: Sun, 31 Mar 2002 05:00:26 +0000 Subject: [PATCH] Update clean targets * Remove chmod calls from make clean, arch is supposed to keep track of permissions correctly so they shouldn't be needed now. * Add '-path './{arch}' -prune -o ' to all the find calls so cleaning doesn't recurse into arch's revision control directories and possibly corrupt them. * Add archclean target which removes all of arch's cruft so release tarballs won't be ridiculously bloated (arch keeps a complete duplicate copy of the source making the tarball twice the size it should be, no good for release tarballs). If people want a `archable' tree they should just use arch to check one out. git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-17 --- ChangeLog | 24 ++++++++++++++++++++++++ Makefile | 18 +++++++++++------- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 13b3735..83612db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,30 @@ # tag: automatic-ChangeLog--erbenson@alaska.net--public/yaboot--devel--1.3 # +2002-03-31 05:00:26 GMT Ethan Benson patch-17 + + Summary: + Update clean targets + Revision: + yaboot--devel--1.3--patch-17 + + * Remove chmod calls from make clean, arch is supposed to keep track + of permissions correctly so they shouldn't be needed now. + + * Add '-path './{arch}' -prune -o ' to all the find calls so cleaning + doesn't recurse into arch's revision control directories and possibly + corrupt them. + + * Add archclean target which removes all of arch's cruft so release + tarballs won't be ridiculously bloated (arch keeps a complete + duplicate copy of the source making the tarball twice the size it + should be, no good for release tarballs). If people want a `archable' + tree they should just use arch to check one out. + + modified files: + ChangeLog Makefile + + 2002-03-27 14:10:34 GMT Ethan Benson patch-16 Summary: diff --git a/Makefile b/Makefile index 91b8e7a..7c5c1bc 100644 --- a/Makefile +++ b/Makefile @@ -148,19 +148,23 @@ bindist: all clean: rm -f second/yaboot util/addnote util/elfextract $(OBJS) - find . -name '#*' | xargs rm -f - find . -name '.#*' | xargs rm -f - find . -name '*~' | xargs rm -f - find . -name '*.swp' | xargs rm -f + find . -path './{arch}' -prune -o -name '#*' | xargs rm -f + find . -path './{arch}' -prune -o -name '.#*' | xargs rm -f + find . -path './{arch}' -prune -o -name '*~' | xargs rm -f + find . -path './{arch}' -prune -o -name '*.swp' | xargs rm -f -gunzip man/*.gz rm -rf man.deb - chmod 755 ybin/ybin ybin/ofpath ybin/yabootconfig - chmod -R u+rwX,go=rX . - chmod a-w COPYING cleandocs: make -C doc clean +## removes arch revision control crap, only to be called for making +## release tarballs. arch should have a export command like cvs... + +archclean: + rm -rf '{arch}' + find . -type d -name .arch-ids | xargs rm -rf + maintclean: clean cleandocs release: docs bindist clean -- 2.39.2