[Bug 48012] New: make multi-dir distribution fails due to incorrect path in Makefile.am
newnews at gmx.de
Wed Sep 18 13:16:02 UTC 2002
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: make multi-dir distribution fails due to incorrect path
Platform: SuSE RPMs
AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
ReportedBy: newnews at gmx.de
Version: 2.1 (KDE 3.0.1) (using KDE KDE 3.0.1)
Installed from: SuSE RPMs
Compiler: gcc 2.95.3
I tried to distribute multiple projects in various subdirs in one .tar.gz using automake/autoconf in the topdir.
Now, `make dist` fails in target "dist-hook" since its trying to cd in a directory that isn't where its expected. I solved the problem myself by changing in each projects' subdirectory the Makefile.am from
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
cd $(distdir) && perl admin/am_edit -padmin
cd $(distdir) && $(MAKE) -f admin/Makefile.common subdirs
'make dist' now works for each single project as well as for all at once.
More information about the KDevelop-devel