Bug 68237

Summary: error in src-Makefile.am template for Koffice part project
Product: [Applications] kdevelop Reporter: Huberto Gastal Mayer <beto>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Huberto Gastal Mayer 2003-11-14 20:52:02 UTC
Version:           cvs 20031114 (using KDE KDE 3.1.4)
Installed from:    Debian testing/unstable Packages
OS:          Linux

It has an error in line 6 of the file kdevelop/languages/cpp/app_templates/kofficepart/src-Makefile.am :

lib$APPNAME$part_la_SOURCES = $APPNAMELC$_part.cpp \

The macro $APPNAME must be $APPNAMELC because, for example, when I try to create one kofficepart called "Kantata", in the resultant Makefile.am kdevelop generates a missed line, as (lines 6, 7 and 8):

libKantatapart_la_SOURCES =  kantata_factory.cpp kantata_part.cpp kantata_view.cpp
libkantatapart_la_LDFLAGS = $(KDE_PLUGIN)
libkantatapart_la_LIBADD = -lkofficeui

where in line 6 (first line in example) libKantatapart_la_SOURCES with the K" in uper case, it generates an error when automake and autoconf are executed.
Then, to correct this, line 6 of the file kdevelop/languages/cpp/app_templates/kofficepart/src-Makefile.am must be:

lib$APPNAMELC$part_la_SOURCES = $APPNAMELC$_part.cpp \


[]s
Huberto
Comment 1 Jens Dagerbo 2003-11-14 21:31:48 UTC
Committed. Thanks for the report!