avoid unneeded use of cat in the last change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-10-31 09:32:24 +00:00
parent 2f099ed723
commit 6a7d17a272

8
debian/rules vendored
View File

@ -57,10 +57,10 @@ endif
DEBIAN_WXFLAVOUR := $(shell pwd | sed -e 's@.*/wxwidgets[0-9.]\+-\?\(.*\)-[0-9.]\+-\?.*@\1@')
wx_major_version_number := $(shell cat configure.in | sed -n 's/^wx_major_version_number=//p')
wx_minor_version_number := $(shell cat configure.in | sed -n 's/^wx_minor_version_number=//p')
wx_release_number := $(shell cat configure.in | sed -n 's/^wx_release_number=//p')
wx_subrelease_number := $(shell cat configure.in | sed -n 's/^wx_subrelease_number=//p')
wx_major_version_number := $(shell sed -n 's/^wx_major_version_number=//p' configure.in)
wx_minor_version_number := $(shell sed -n 's/^wx_minor_version_number=//p' configure.in)
wx_release_number := $(shell sed -n 's/^wx_release_number=//p' configure.in)
wx_subrelease_number := $(shell sed -n 's/^wx_subrelease_number=//p' configure.in)
##release := $(shell dpkg-parsechangelog | sed -n 's/^Source: wxwidgets//p' | sed 's/-ansi//')
release := $(wx_major_version_number).$(wx_minor_version_number)