Bug 86541 - kapptemplate: Doesn't convert - to _ in Makefile.am
Summary: kapptemplate: Doesn't convert - to _ in Makefile.am
Alias: None
Product: kapptemplate
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Kurt Granroth
Depends on:
Reported: 2004-08-04 03:55 UTC by Ben Burton
Modified: 2008-04-26 14:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


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