Bug#307813: [Build-common-hackers] Bug#307813: DEB_ANT_TEST_TARGET & DEB_ANT_CHECK_TARGET inconsistancy
Robert Millan
Robert Millan <rmh@debian.org>, 307813@bugs.debian.org
Wed, 18 May 2005 12:44:54 +0200
On Thu, May 05, 2005 at 09:18:31AM -0700, ms419@freezone.co.uk wrote:
> Package: cdbs
> Version: 0.4.28-1
>
> DEB_ANT_TEST_TARGET is mentioned in -
>
>
> /usr/share/cdbs/1/class/ant-vars.mk
>
> https://wiki.duckcorp.org/DebianPackagingTutorial/CDBS
>
>
> - while DEB_ANT_CHECK_TARGET is used by -
>
>
> /usr/share/cdbs/1/class/ant.mk
>
>
> I suspect that DEB_ANT_CHECK_TARGET is a mistake -
> /usr/share/cdbs/1/class/ant.mk should be made consistent with
> /usr/share/cdbs/1/class/ant-vars.mk &
> https://wiki.duckcorp.org/DebianPackagingTutorial/CDBS
It seems that DEB_ANT_CHECK_TARGET is a feature that can be activated by
packages, and probably there are packages already using it, so we can't just
remove it.
rmh@aragorn:~/debian/maint/cdbs/cdbs/cdbs-0.4.29$ rgrep DEB_ANT_CHECK_TARGET .
./1/class/ant.mk.in: @if test -n "$(DEB_ANT_CHECK_TARGET)"; then \
./1/class/ant.mk.in: echo $(DEB_ANT_INVOKE) $(DEB_ANT_CHECK_TARGET); \
./1/class/ant.mk.in: $(DEB_ANT_INVOKE) $(DEB_ANT_CHECK_TARGET); \
./1/class/ant.mk.in: echo "DEB_ANT_CHECK_TARGET unset, not running checks"; \
OTOH, DEB_ANT_TEST_TARGET doesn't seem to be used by cdbs. Perhaps it is this
variable which ought to be removed? Please investigate, and fix the wiki if
appropiate!
rmh@aragorn:~/debian/maint/cdbs/cdbs/cdbs-0.4.29$ rgrep DEB_ANT_TEST_TARGET .
./1/class/ant-vars.mk.in:DEB_ANT_TEST_TARGET =
./examples/java-library.rules:#DEB_ANT_TEST_TARGET :=
Thanks.
--
.''`. Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `' http://www.debian.org/ports/kfreebsd-gnu
`-