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

  • From: Samuel Richter <samuel.richter@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 24 Jan 2011 11:05:16 +0100

Author: richter
Date: Mon Jan 24 11:05:15 2011
New Revision: 2416

Log:
Use a new script to build debian packages.

The new script builds the binaries from the dist-tarball in a temporary folder.
The svn-revision is added to the version-string.
Repository uploading is separated from package building.
Support for rpm dropped.

Modified:
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- 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
 
 doxygen: docs/Doxyfile
        doxygen $<
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts: