[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

./packages/openofficeorg/3.0/experimental r1078: fix version detection for pdfimportand presenter-screen



------------------------------------------------------------
revno: 1078
committer: Rene Engelhard <rene@debian.org>
branch nick: experimental
timestamp: Tue 2008-05-13 14:28:22 +0200
message:
  fix version detection for pdfimportand presenter-screen
modified:
  rules
=== modified file 'rules'
--- a/rules	2008-05-13 11:26:52 +0000
+++ b/rules	2008-05-13 12:28:22 +0000
@@ -2927,7 +2927,7 @@
 endif
 ifeq "$(ENABLE_PDFIMPORT)" "y"
 	dh_gencontrol -popenoffice.org$(VER)-pdfimport -- \
-		-v$(shell grep "<version" $(SOURCE_TREE)/filter/pdfimport/config/description.xml | perl -pi -e 's,<version.*value=\"(.*)\" />,\1,; s/^\s+//')++OOo`echo $(BINARY_VERSION) | cut -d: -f2`
+		-v$(shell grep "<version" $(SOURCE_TREE)/filter/source/pdfimport/config/description.xml | perl -pi -e 's,<version.*value=\"(.*)\" />,\1,; s/^\s+//')++OOo`echo $(BINARY_VERSION) | cut -d: -f2`
 endif
 ifeq "$(ENABLE_MINIMIZER)" "y"
 	dh_gencontrol -popenoffice.org$(VER)-presentation-minimizer -- \
@@ -2935,7 +2935,7 @@
 endif
 ifeq "$(ENABLE_PRESENTER_SCREEN)" "y"
 	dh_gencontrol -popenoffice.org$(VER)-presenter-screen -- \
-		-v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/presenter/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//')+OOo`echo $(BINARY_VERSION) | cut -d: -f2`
+		-v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/presenter/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+OOo`echo $(BINARY_VERSION) | cut -d: -f2`
 endif
 	dh_gencontrol -popenoffice.org$(VER)-sdbc-postgresql -- \
 		-v`echo $(BINARY_VERSION) | cut -d: -f1`:$(shell grep ^PQ_SDBC_M $(SOURCE_TREE)/connectivity/source/drivers/postgresql/makefile.mk | cut -d"=" -f2 | xargs | sed -e s/\ /\./g)+OOo`echo $(BINARY_VERSION) | cut -d: -f2`


Reply to: