Bug 86541

Summary: kapptemplate: Doesn't convert - to _ in Makefile.am
Product: [Developer tools] kapptemplate Reporter: Ben Burton <bab>
Component: generalAssignee: Kurt Granroth <granroth>
Status: RESOLVED FIXED    
Severity: normal CC: ana
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ben Burton 2004-08-04 03:55:16 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Received through the Debian BTS (#261270):

If you give kapptemplate a project name containing a hyphen, it generates stuff like this in Makefile.am:

foo-bar_SOURCES = foo.c bar.c

Obviously, the correct line is:

foo_bar_SOURCES = foo.c bar.c

The generated Makefiles are incorrect with the default variable names.
Comment 1 Beat Wolf 2008-04-26 14:41:21 UTC
Fixed in latest svn revision. Now we simply don't allow special characters in the project name.