Sam
Sam

Reputation: 33

How to print message(s) at the end of configure/make?

I'm trying to setup a software package with GNU autotools and would like for a message "Build successful!" to be outputted after a user has run make (after configure). How would I implement such a feature? Thanks

Upvotes: 3

Views: 892

Answers (1)

JesperE
JesperE

Reputation: 64404

There is no clean way of doing it. You can add a printout to the top-level make target:

all:
       $(MAKE) ... && echo "Build succeeded"

Upvotes: 2

Related Questions