I wrote a program in C++ and I'm using autoconf and automake. Also, I've made man page (my_program.1
) in the same folder that has all source files, header files and so on.
In my Makefile.am
I have this line
man1_MANS = my_program.1
When I say ./configure
it's all ok, but when I run make
I get this error:
make: *** No rule to make target `my_program.1`, needed by `all-am`. Stop.
Any idea how to fix this?