Author: biurrun Date: Sun Mar 28 22:28:18 2010 New Revision: 2219 Log: The Subversion revision number can only be detected from the source directory. Modified: trunk/Makefile.am Modified: trunk/Makefile.am ============================================================================== --- trunk/Makefile.am Sun Mar 28 21:51:06 2010 (r2218) +++ trunk/Makefile.am Sun Mar 28 22:28:18 2010 (r2219) @@ -180,7 +180,7 @@ # when creating specific objects that may depend on version.h directly. BUILT_SOURCES = version.h version.h: $(srcdir)/.svn/entries - echo "#define SVN_REVISION \"$$(svn info | grep Revision: | cut -d' ' -f2)\"" > $@ + echo "#define SVN_REVISION \"$$(svn info $(srcdir) | grep Revision: | cut -d' ' -f2)\"" > $@ deb rpm: tools/packaging/create-package.sh $@