Created
July 1, 2014 09:30
-
-
Save RobinMcCorkell/c5ddb85c08fe221613ae to your computer and use it in GitHub Desktop.
Git-based autogen.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Create ChangeLog from git | |
| if which git > /dev/null && git rev-parse; then | |
| [[ -e ChangeLog ]] && rm -f ChangeLog | |
| git log --pretty=medium --abbrev-commit > ChangeLog | |
| else | |
| touch ChangeLog #suppress errors with a missing ChangeLog | |
| fi | |
| # Prepare the source files for packaging | |
| autoreconf --force --install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment