Currently "make dist" fails with "No rule to make target README"

Issue #892 resolved
JoãoS created an issue

Currently, when attempting to build the distribution file as stated in the README, the target dist fails due to the following error:
”No rule to make target README', needed by distdir'”.

Below lies my attempt which demonstrates the error. I’m attempting this build on a CentOS 7 LXC container.

[root@host ~]# git clone https://bitbucket.org/tildeslash/monit.git
Cloning into 'monit'...remote: 
Counting objects: 14141, done.
remote: Compressing objects: 100% (4937/4937), done.
remote: Total 14141 (delta 10902), reused 11891 (delta 8916)
Receiving objects: 100% (14141/14141), 2.99 MiB | 1.45 MiB/s, done.
Resolving deltas: 100% (10902/10902), done.

[root@host ~]# cd monit/
[root@host monit]# ./bootstrap
()
Success bootstrapping libmonit
Success bootstrapping Monit

[root@host monit]# ./configure
(...)
+------------------------------------------------------------+
| License:                                                   |
| This is Open Source Software and use is subject to the GNU |
| AFFERO GENERAL PUBLIC LICENSE version 3, available in this |
| distribution in the file COPYING.                          |
|                                                            |
| By continuing this installation process, you are bound by  |
| the terms of this license agreement. If you do not agree   |
| with the terms of this license, you must abort the         |
| installation process at this point.                        |
+------------------------------------------------------------+
| Monit has been configured with the following options:      |
|                                                            |
|  Compression:                                  ENABLED     |
|  PAM support:                                  ENABLED     |
|  SSL support:                                  ENABLED     |
|  Large files support:                          ENABLED     |
|  ASAN support:                                 DISABLED    |
|  IPv6 support:                                 ENABLED     |
|  Optimized:                                    DISABLED    |
|  Profiling:                                    DISABLED    |
+------------------------------------------------------------+

[root@host monit]# make dist
make  dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory `/root/monit'
bison -y -dvt -o src/y.tab.c src/p.y
/usr/bin/flex -i -osrc/lex.yy.c src/l.l
make[1]: *** No rule to make target `README', needed by `distdir'.  Stop.
make[1]: Leaving directory `/root/monit'
make: *** [dist] Error 2

Comments (1)

  1. Log in to comment