Opened 15 years ago

Closed 15 years ago

#327 closed enhancement (fixed)

build lib and binary from test/Makefile

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: minor Milestone: svndigest 0.7
Component: build Version: trunk
Keywords: Cc:


I think it would be very convenient if we could add dependency in test/Makefile such that lib is rebuilt when needed.

The reason is that when you are working on a test (and modifying files in lib/) you need to write a one-liner (in test/) like:

cd ../ && make && cd test && make FOO_test && ./FOO_test -v

If we add the suggested dependency, one could simplify to

make FOO_test && ./FOO_test -v

since the make is doing the rest.

I am not sure about the exact syntax, but I guess one could add a dependency that

cd $(topbuilddir)/lib && make

Change History (1)

comment:1 Changed 15 years ago by Peter Johansson

Resolution: fixed
Status: newclosed

(In [633]) closes #327 - added rule so 'make' is issued in 'lib/' when libsvndigest is needed - skipping similar rule for 'bin/' because cant see the use of it

Note: See TracTickets for help on using tickets.