sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 13326] astyle
- Date: 17 Jan 2007 12:09:11 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13326
iuso AT sourcemage.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From iuso AT sourcemage.org 2007-01-17 06:09 -------
Added to test with commit 2d67fed537265eda2a667e96d8526b5ebfe4675e.
I made some modifications to your original. It's in the devel section, please
have a look at it and take notice. Here's a summary of what I needed to
change:
- SOURCE_DIRECTORY should be the root dir of the source package, i.e.
"astyle"
not "astyle/src", even if the Makefile is in a subdirectory. You can do 'cd
src; make' in BUILD.
- 'install ${BUILD_DIRECTORY}/${INSTALL_ROOT}/astyle ${INSTALL_ROOT}/usr/bin'
is wrong. INSTALL_ROOT is the root of the _target_
system. It's never in the middle of a path, and also it's never used in the
source path. Because BUILD happened inside $BUILD_DIRECTORY/src/, we're
already there when INSTALL is run, so you can simply do 'install
astyle "$INSTALL_ROOT/usr/bin/"'.
- Don't use tabs in any other spell files than HISTORY, use two spaces for
indents.
- A doc dir inside the sources shouldn't be installed by INSTALL; sorcery has
a feature called GATHER_DOCS for toggling whether to install docs or not
during cast.
- Wrap your lines to a maximum of 80 chars (long description in DETAILS).
- Enclosing all paths with variables inside double quotes "" is a good idea;
it's theoretically possible that $INSTALL_ROOT may contain spaces.
Hope you're not intimidated by the feedback, thanks a lot for the spell. :)
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 13326] astyle, bugzilla-daemon, 01/17/2007
Archive powered by MHonArc 2.6.24.