开发者

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

开发者 https://www.devze.com 2022-12-30 22:13 出处:网络
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 c开发者_StackOverflow中文版onfigure). How

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 c开发者_StackOverflow中文版onfigure). How would I implement such a feature? Thanks


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

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

精彩评论

暂无评论...
验证码 换一张
取 消