Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#486 closed defect (fixed) does not honor --prefix and friend set at make time

Reported by: Peter Owned by: Peter
Priority: trivial Milestone: yat 0.5
Component: build Version: trunk
Keywords: Cc:

Description (last modified by Peter) is built at configure time and thus does not depend on flags set at make time. For instance,

make clean
make prefix=/tmp
make install
make installcheck

will fail because prefix in is set to /usr/local.

Change History (4)

comment:1 Changed 12 years ago by Peter

Description: modified (diff)

comment:2 Changed 12 years ago by Peter

Milestone: yat 0.x+yat 0.5
Status: newassigned

comment:3 Changed 12 years ago by Peter

Resolution: fixed
Status: assignedclosed

closed in r1769

The test of YAT_CHECK_YAT macro is modified so it handles a sequence like: ./configure && make check && make prefix=my_prefix && make install prefix=my_prefix && make installcheck prefix=my_prefix

added a test in maintainer-check that checks this ( I know... testing tests)

Still, there are may situations in which installcheck fails, e.g., when using DESTDIR, so I the test is only tunred on in enable-svn-support mode. Before it was turned on if autotools were available and since we don't need the information whether autotools are available, I removed the configure tests for that.

fixes #486

comment:4 Changed 12 years ago by Peter

(In [1770]) In maintainer-check in yat_test_yat was not run since configure was run without --enable-svn-support; and it can't since it not a svn wc (but svn exported).

Because of this, I now call explicitly and removed the the test from installcheck-local.

refs #486

Note: See TracTickets for help on using tickets.