]> git.ozlabs.org Git - yaboot.git/blobdiff - Makefile
Commit yaboot 1.3.5-pre3
[yaboot.git] / Makefile
index 068d3e5afa7448602d454eb8c9acf800b383ab04..91fdf6263386dd0f0f83b071c50759f9e3fabf8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 include Config
 
-VERSION = 1.3.4
+VERSION = 1.3.5pre3
 # 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