X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=Makefile;h=64b03a454b9d37247e2274b201405209006cc38b;hp=91b8e7ab0c7951a389aa390a4c05a4db1015d928;hb=941806a910f667c64b8ed55897ff2f5d458bc027;hpb=1237a9cea4d8a7c25d422410ef338901582ad45e diff --git a/Makefile b/Makefile index 91b8e7a..64b03a4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ include Config -VERSION = 1.3.6 +VERSION = 1.3.11-UNRELEASED_UNSUPPORTED # Debug mode (spam/verbose) DEBUG = 0 # make install vars @@ -148,19 +148,25 @@ 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 . -not -path './\{arch\}*' -name '#*' | xargs rm -f + find . -not -path './\{arch\}*' -name '.#*' | xargs rm -f + find . -not -path './\{arch\}*' -name '*~' | xargs rm -f + find . -not -path './\{arch\}*' -name '*.swp' | xargs rm -f + find . -not -path './\{arch\}*' -name ',,*' | xargs rm -rf -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 + rm -f 0arch-timestamps0 + maintclean: clean cleandocs release: docs bindist clean