Menu

#151 libopts tearoff m4 should always build Makefile

autogen
closed
nobody
None
1
2014-06-28
2013-08-24
No

libopts-add.m4's LIBOPTS_CHECK makes the generation of Libopts_Dir/Makefile via ./configure (See AC_CONFIG_FILES(AO_Libopts_Dir/Makefile)) conditional on whether the libopts tearoff is built and used. i.e. if a local system-wide libopts is used instead of the included libopts tearoff Libopts_Dir/Makefile is NOT generated.

This breaks "make distclean".

Quoting http://www.gnu.org/software/automake/manual/automake.html#Conditional-Subdirectories:
Any directory listed in DIST_SUBDIRS and SUBDIRS must be configured.

I.e., the Makefile must exists or the recursive make rules will not be able to process the directory.
[...]

cu Andreas

Discussion

  • Bruce Korb

    Bruce Korb - 2013-08-25

    A patch would be welcome. :)

     
  • Bruce Korb

    Bruce Korb - 2013-09-07

    I need more information. Should I unconditionally configure the file and leave it up to what, exactly, to skip it for "make all"?

    A patch would be welcome.

     
  • Bruce Korb

    Bruce Korb - 2014-06-28

    This should now be fixed.

     
  • Bruce Korb

    Bruce Korb - 2014-06-28
    • status: open --> closed
     

Log in to post a comment.