Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Makefile improvements #6435

Closed
wants to merge 5 commits into from
Closed

Two Makefile improvements #6435

wants to merge 5 commits into from

Commits on Jan 2, 2013

  1. Copy the full SHA
    9126e06 View commit details
    Browse the repository at this point in the history
  2. Replaces some @echo recipes by @printf.

    The echo command does not understand the -n argument on Mac OS X.
    This is due to the fact that:
    
      - Makefile calls /bin/sh to execute a command
      - in Mac OS X, /bin/sh is a link to bash
      - in Mac OS X, bash is compiled with --enable-strict-posix-default
    
    Therefore, the echo command does not have the -n argument.
    
    printf on the other hand is a builtin function that works well on Mac OS X and Linux.
    dudebout committed Jan 2, 2013
    Copy the full SHA
    53af502 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b091f13 View commit details
    Browse the repository at this point in the history
  4. Modifies the Makefile to use local npm install **when available**

    The change introduced in 5bd8cdc was:
    
      - partial, as not all the command were translated
      - preventing the use of a global npm installation
    dudebout committed Jan 2, 2013
    Copy the full SHA
    b703a0b View commit details
    Browse the repository at this point in the history
  5. Allows the user to set different source and destination in Makefile.

    A user can use the following command to determine where to copy the resulting css file:
    
        $ BOOTSTRAP=<my-path> make
    dudebout committed Jan 2, 2013
    Copy the full SHA
    5609cdf View commit details
    Browse the repository at this point in the history