incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatoli Fomenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BIGTOP-433) Make variables used in build/install scripts consistent
Date Thu, 13 Sep 2012 01:34:08 GMT

    [ https://issues.apache.org/jira/browse/BIGTOP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454557#comment-13454557
] 

Anatoli Fomenko commented on BIGTOP-433:
----------------------------------------

Following Bruno's comments in BIGTOP-695, I'm using the following guidelines while making
the install script consistent across different packages:
# Use spec and rules files' install sections to determine what variables are passed to the
install scripts
# Keep $PREFIX out of the variable definitions in the install files, to reduce duplicate work
in spec and rules files
# Use common variable names, e.g. $LIB_DIR, $MAN_DIR, $DOC_DIR, etc.
# Remove unused variables
                
> Make variables used in build/install scripts consistent
> -------------------------------------------------------
>
>                 Key: BIGTOP-433
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Bruno Mahé
>            Assignee: Anatoli Fomenko
>             Fix For: 0.5.0
>
>
> I was working on some scripts across different packages and the inconsistencies make
it hard to work efficiently.
> Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR
vs $PREFIX/$<PROJECT>_DIR).
> Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message