[Bug 48012] New: make multi-dir distribution fails due to incorrect path in Makefile.am

Daniel Franke 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.
   
http://bugs.kde.org/show_bug.cgi?id=48012   
           Summary: make multi-dir distribution fails due to incorrect path
                    in Makefile.am
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        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 
OS:          Linux

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

--cut--
dist-hook:
	cd $(top_distdir) && perl admin/am_edit -padmin
	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
--cut--
to
--cut--
dist-hook:
	cd $(distdir) && perl admin/am_edit -padmin
	cd $(distdir) && $(MAKE) -f admin/Makefile.common subdirs
--cut--

'make dist' now works for each single project as well as for all at once.




More information about the KDevelop-devel mailing list