From 9372855d1980987a788e44f89f9b73ede1e9f58b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 May 2006 12:12:01 +0000 Subject: [PATCH] fixed python-related files names after they had been apparently renamed in the cvs 4 months ago; fixed broken sed command syntax git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- debian/rules | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/debian/rules b/debian/rules index 18cc33a030..a3b59b9963 100755 --- a/debian/rules +++ b/debian/rules @@ -55,7 +55,7 @@ config_cache_cross = ../config_deb_cross.cache package_gtk_lib = libwxgtk$(sorelease) package_gtk_dev = libwxgtk$(release)-dev package_gtk_dbg = libwxgtk$(release)-dbg -package_gtk_py_lib = libwxgtk$(sorelease)-python +package_gtk_py_lib = python-wxgtk$(sorelease) package_gtk_py = wxpython$(sorelease) package_common = wx$(release)-common package_headers = wx$(release)-headers @@ -63,7 +63,7 @@ package_i18n = wx$(release)-i18n package_doc = wx$(release)-doc package_examples = wx$(release)-examples -package_gtk_dbg_py = libwxgtk$(sorelease)-dbg-python +package_gtk_dbg_py = python-wxgtk$(sorelease)-dbg package_msw_dev = libwxmsw$(release)-dev package_msw_dbg = libwxmsw$(release)-dbg package_headers_msw = wx$(release)-headers-msw @@ -150,24 +150,22 @@ control-files-stamp: debian/control done; @for f in docs postinst prerm; do \ echo "generating control file $(package_gtk_py_lib).$$f"; \ - sed -e 's/=PY/$(python_ver)/g; \ - s|=WXPYDIR|$(wxpydir)|g; \ - s/=V/$(release)/g; \ - s/=SOV/$(sorelease)/g' \ - < debian/libwxgtk-python.$$f \ + sed -e 's/=PY/$(python_ver)/g;s|=WXPYDIR|$(wxpydir)|g;' \ + -e 's/=V/$(release)/g;s/=SOV/$(sorelease)/g' \ + < debian/python-wxgtk.$$f \ > debian/$(package_gtk_py_lib).$$f; \ done; @echo "generating control file $(package_gtk_py).menu"; \ - sed -e 's/=SOV/$(sorelease)/g' < debian/wxpython.menu \ + sed -e 's/=SOV/$(sorelease)/g' < debian/python-wxtools.menu \ > debian/$(package_gtk_py).menu; @for f in docs postinst; do \ echo "generating control file $(package_gtk_dbg_py).$$f"; \ sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g;s/=SOV/$(sorelease)/g' \ - < debian/libwxgtk-python.$$f \ + < debian/python-wxgtk.$$f \ > debian/$(package_gtk_dbg_py).$$f; \ done; @echo "generating control file $(package_gtk_dbg_py).prerm"; \ - sed 's/=SOV/$(sorelease)/g' < debian/libwxgtk-dbg-python.prerm \ + sed 's/=SOV/$(sorelease)/g' < debian/python-wxgtk-dbg.prerm \ > debian/$(package_gtk_dbg_py).prerm @for f in docs doc-base; do \ echo "generating control file $(package_doc).$$f"; \