Skip to content
Permalink
Browse files
Don't rewrite qgssvnversion.h unless svnversion has changed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5721 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Aug 21, 2006
1 parent de503b4 commit aac3bee
Showing 1 changed file with 4 additions and 2 deletions.
@@ -63,5 +63,7 @@ BUILT_SOURCES = qgssvnversion.h

.PHONY : qgssvnversion.h
qgssvnversion.h:
@ echo "#define QGSSVNVERSION \"`svnversion .`\"" > qgssvnversion.h

@QGSSVNDEF="#define QGSSVNVERSION \"`svnversion .`\"" && \
if [ "`grep QGSSVNVERSION qgssvnversion.h 2>/dev/null`" != "$$QGSSVNDEF" ]; then \
echo $$QGSSVNDEF > qgssvnversion.h; \
fi

0 comments on commit aac3bee

Please sign in to comment.