]> git.ozlabs.org Git - yaboot.git/blobdiff - Makefile
Commit yaboot 1.3.5-pre2
[yaboot.git] / Makefile
index 5f6fc9a753316b604ec35bf6cfb07083f0564a20..b8b02c77a7b0fc98923ad68d3941b280b27d8b66 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 include Config
 
-VERSION = 1.3.4pre3
+VERSION = 1.3.5pre2
 # Debug mode (spam/verbose)
 DEBUG = 0
 # make install vars
@@ -114,6 +114,10 @@ elfextract:
 
 mkofboot:
        ln -sf ybin ybin/mkofboot
+       @if [ $$(grep '^VERSION=' ybin/ybin | cut -f2 -d=) != ${VERSION} ] ; then       \
+               echo "ybin/ybin: warning: VERSION  mismatch";                           \
+               false;                                                                  \
+       fi
 
 %.o: %.c
        $(CC) $(YBCFLAGS) -c -o $@ $<
@@ -140,6 +144,7 @@ clean:
        find . -name '#*' | xargs rm -f
        find . -name '.#*' | xargs rm -f
        find . -name '*~' | xargs rm -f
+       find . -name '*.swp' | xargs rm -f
        -gunzip man/*.gz
        rm -rf man.deb
        chmod 755 ybin/ybin ybin/ofpath ybin/yabootconfig