From b7360276bd461feac7b02ed40bafc2c7820778cf Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Tue, 3 Jan 2012 13:55:00 +0000 Subject: [PATCH] Do not process the makefile itself when replacing =VERS= variables git-svn-id: https://svn.fhem.de/fhem/trunk@1166 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/Makefile b/fhem/Makefile index b65e5373b..77f61ecd0 100644 --- a/fhem/Makefile +++ b/fhem/Makefile @@ -59,7 +59,7 @@ dist: find .f -name .svn -print | xargs rm -rf find .f -name \*.orig -print | xargs rm -f find .f -name .#\* -print | xargs rm -f - find .f -type f -print |\ + find .f -type f -print | grep -v Makefile |\ xargs perl -pi -e 's/=VERS=/$(VERS)/g;s/=DATE=/$(DATE)/g' mv .f $(DESTDIR) tar cf - $(DESTDIR) | gzip > $(DESTDIR).tar.gz @@ -77,7 +77,7 @@ deb: find .f -name .svn -print | xargs rm -rf find .f -name \*.orig -print | xargs rm -f find .f -name .#\* -print | xargs rm -f - find .f -type f -print |\ + find .f -type f -print | grep -v Makefile |\ xargs perl -pi -e 's/=VERS=/$(VERS)/g;s/=DATE=/$(DATE)/g' find .f -type f | xargs chmod 644 find .f -type d | xargs chmod 755 @@ -90,3 +90,6 @@ deb: fb7390: cd contrib/FB7390 && ./makeimage $(DESTDIR) + +fb7270: + cd contrib/FB7270 && ./makeimage $(DESTDIR)