Bug 68237 - error in src-Makefile.am template for Koffice part project
Summary: error in src-Makefile.am template for Koffice part project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 20:52 UTC by Huberto Gastal Mayer
Modified: 2003-11-14 21:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!