Bug 75612 - wish: teach the automake manager to not unbreak lines
Summary: wish: teach the automake manager to not unbreak lines
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.0.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 14:39 UTC by Holger Schröder
Modified: 2006-12-07 21:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schröder 2004-02-19 14:39:13 UTC
Version:           3.0.0 (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:          Linux (i686) release 2.6.3-gentoo

Hi,

i think it is quite annoying, that the automake manager of kdevelop 3 writes all files in the Makefile.am in one line. so when i have 20+ files in a project, it is hard to find the errors, when you work with several people on one project.

when two people have added two different classes, you will get a cvs collision, and you have to compare these two different very long lines.

i tried to break the makefile.am statement up by hand to something like this:

# which sources should be compiled for rpclient
rpclient_SOURCES = main.cpp rphauptmenubase.ui rpclient.cpp \
        rpclientview.cpp pref.cpp rpclientiface.skel rphauptmenu.h \
        rphauptmenu.cpp rpbuchung.h rpbuchungslauf.h rpbuchungslauf.cpp

but after the next start of kdevelop, it had removed the lines again and the statement was one long line again. but the tabs were still in the line.

so it would be good, if the tabs could be recognized, when saving the makefile.am, and when they could be replaced by a "backslash-newline-tab", so that the resulting makefile.am is more readable. it would even be better, if kdevelop would break lines, which are too long ( longer than 80 chars ) up into several shorter ones.


thanks, Holger
Comment 1 Amilcar do Carmo Lucas 2004-02-19 14:53:42 UTC
That would break unsermake (a German version of automake that is heavily used in KDE).

Until unsermake supports the backslash we cannot do it.
Comment 2 Friedrich W. H. Kossebau 2004-02-19 16:22:34 UTC
Am Donnerstag, 19. Februar 2004 14:53 schrieb Amilcar do Carmo Lucas:
> That would break unsermake (a German version of automake that is heavily
> used in KDE).
>
> Until unsermake supports the backslash we cannot do it.

??? I use unsermake to compile kde from cvs and have no problems with e.g. 
kdeutils/khexedit/Makefile.am. Or do I miss something?

Is there already a way to vote for a bug by email? Then this bug gets 10 votes 
from me, too. 

Friedrich

Comment 3 Zack Rusin 2004-03-03 22:45:31 UTC
Nope, you're not missing anything, Amilcar is just wrong (and unsermake is by no means "German" unless you wanted to say that Coolo is German, which I think he knows already). As far as the bug goes, yeah, it's really nasty.
Comment 4 Megan Webb 2006-12-07 21:34:19 UTC
kdevelop 3.4 branch at least at revision 611365, breaks the files line at about 80 characters to a line. 

Example of line:

teste_SOURCES = teste.cpp thisiasafile.cpp thisiasafile2.cpp thisiasafile3.cpp \
        thisiasafile4.cpp thisiasafile5.cpp thisiasafile6.cpp