- @for f in dirs docs menu postinst prerm; do \
- echo "generating control file $(package_gtk_py).$$f"; \
- sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g;s/=SO/$(soversion)/g' \
+ @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 \
+ > debian/$(package_gtk_py_lib).$$f; \
+ done;
+ @echo "generating control file $(package_gtk_py).menu"; \
+ sed -e 's/=SOV/$(sorelease)/g' < debian/wxpython.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' \