[pisa-src] Re: r2416 - trunk/Makefile.am

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 25 Jan 2011 16:35:20 +0100

On Mon, Jan 24, 2011 at 11:05:16AM +0100, Samuel Richter wrote:
> 
> Log:
> Use a new script to build debian packages.
> 
> --- trunk/Makefile.am Mon Jan 24 10:51:31 2011        (r2415)
> +++ trunk/Makefile.am Mon Jan 24 11:05:15 2011        (r2416)
> @@ -183,11 +183,12 @@
>  # Ensure that version.h is created before everything else. This does not work
>  # when creating specific objects that may depend on version.h directly.
>  BUILT_SOURCES = version.h
> +REVISION = $(shell svn info $(srcdir) | grep Revision: | cut -d' ' -f2)
>  $(srcdir)/version.h: $(wildcard $(srcdir)/.svn/entries)
> -     echo "#define VCS_REVISION \"$$(svn info $(srcdir) | grep Revision: | 
> cut -d' ' -f2)\"" > $@
> +     echo "#define VCS_REVISION \"$(REVISION)\"" > $@
>  
> -deb rpm:
> -     tools/packaging/create-package.sh $@
> +deb: dist
> +     tools/testbed/scripts/build_deb -r $(REVISION) -o $(srcdir)/.. 
> pisa-$(VERSION).tar.gz

Have you tried building out-of-tree?

Note that I expect it to fail, before and after, but it would still be
interesting to know.

Diego
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts: