r185 - in /packages/gnash/trunk/debian: changelog rules
baby-guest at users.alioth.debian.org
baby-guest at users.alioth.debian.org
Thu Feb 14 15:24:37 UTC 2008
Author: baby-guest
Date: Thu Feb 14 15:24:36 2008
New Revision: 185
URL: http://svn.debian.org/wsvn/?sc=1&rev=185
Log:
Added proper version numbering, including date, to build results.
Modified:
packages/gnash/trunk/debian/changelog
packages/gnash/trunk/debian/rules
Modified: packages/gnash/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/changelog?rev=185&op=diff
==============================================================================
--- packages/gnash/trunk/debian/changelog (original)
+++ packages/gnash/trunk/debian/changelog Thu Feb 14 15:24:36 2008
@@ -17,6 +17,7 @@
* Removed libgnashgeo and libgnashbackend from debian/gnash-common.install
* Removed gparser from debian/gnash-tools.install
* Fixed man pages generation system and built new manpages.
+ * Added proper version numbering, including date, to build results.
-- Miriam Ruiz <little_miry at yahoo.es> Tue, 12 Feb 2008 11:33:29 +0000
Modified: packages/gnash/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/gnash/trunk/debian/rules?rev=185&op=diff
==============================================================================
--- packages/gnash/trunk/debian/rules (original)
+++ packages/gnash/trunk/debian/rules Thu Feb 14 15:24:36 2008
@@ -11,6 +11,7 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
MAIN_VERSION = $(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/[()]//g')
+BUILD_VERSION = cvs$(shell head -n 1 debian/changelog | cut '-d ' -f 2 | sed 's/^.*cvs//' | sed 's/\..*-.*//')
CFLAGS = -Wall -g -Werror-implicit-function-declaration
@@ -51,7 +52,7 @@
@printf "\n == CONFIGURE =================================================== \n\n"
# In the future, I want to add LDFLAGS="-Wl,-z,defs"
- ./configure CFLAGS="$(CFLAGS)" \
+ ./configure VERSION="$(BUILD_VERSION)" CFLAGS="$(CFLAGS)" \
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
--enable-plugin --enable-gui='gtk,kde' --enable-cygnal \
@@ -70,7 +71,7 @@
dh_testdir
@printf "\n == MAKE ======================================================== \n\n"
- $(MAKE)
+ $(MAKE) VERSION="$(BUILD_VERSION)"
@printf "\n ----------------------------------------------- End of MAKE ---- \n\n"
@printf "\n == CHECK ======================================================= \n\n"
@@ -135,7 +136,7 @@
install -d $(CURDIR)/debian/tmp/usr/include/gnash
@printf "\n == INSTALL ===================================================== \n\n"
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ $(MAKE) install VERSION="$(BUILD_VERSION)" DESTDIR=$(CURDIR)/debian/tmp
@printf "\n -------------------------------------------- End of INSTALL ---- \n\n"
#cd debian/h2m; $(MAKE)
More information about the pkg-flash-devel
mailing list