Article 6F1F4 How to tell autoconf to run specific commands in with 'make install'

How to tell autoconf to run specific commands in with 'make install'

by
mcastellana
from LinuxQuestions.org on (#6F1F4)
Hello,
I am on OSX 12.6.8, and I successfully generated a makefile by using autoconf by creating configure.ac and makefile.am as indicated in this tutorial

By running autoconf, then ./configure and make, my program is succesfully compiled. I would like to tell autoconf to run a specific command , e.g. 'echo good morning' when running make install.

How should I modify configure.ac and makefile.am to do this ?

Thanks !
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments