Bug 249839
Summary: | clean-libtool insufficient with subdir-objects | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miloslav Trmač <mitr> | ||||
Component: | automake | Assignee: | Karsten Hopp <karsten> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 7 | Keywords: | Reopened | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-08-14 09:42:29 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Miloslav Trmač
2007-07-27 12:48:14 UTC
Created attachment 160114 [details]
Reproducer
I think you need to do the following as automake won't know about the subdir otherwise: - add AC_CONFIG_FILES([src/Makefile]) to configure.ac in the main directory - echo "SUBDIRS = src" > Makefile.am - echo "bin_PROGRAMS = main" > src/Makefile.am Automake does already know about the subdirectory, see e.g. @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/main.Po@am__quote@ in the generated Makefile.in. If automake didn't interpret src/main specially, the line would have to be @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/src/main.Po@am__quote@ wouldn't it? Using a separate Makefile for the subdirectory completely defeats the point of using subdir-objects. do you remember which package had this problem ? I'd remove AC_PROG_LIBTOOL from configure.ac in this testcase as it isn't required anywhere, but this most probably won't fix the issues in the original package. rawhide's audit - but that's irrelevant, IMHO. I'm reporting this because it is a bug and because it should eventually be fixed, not because I need a workaround. |