Permalink
Browse files

Rename README to README.markdown to make github happy.

Then copy to README during autogen to make automake happy.
  • Loading branch information...
1 parent f3967c7 commit 4bd1b3ef86c6b8711129324a149122bb0746f32d @radarsat1 radarsat1 committed Nov 25, 2010
Showing with 5 additions and 1 deletion.
  1. 0 README → README.markdown
  2. +5 −1 autogen.sh
File renamed without changes.
View
@@ -108,13 +108,17 @@ do
echo "Running autoheader..."
autoheader
fi
- if test -z "$NO_GIT" && git branch; then
+ if test -z "$NO_GIT" && git branch >/dev/null; then
echo "Generating ChangeLog using git ..."
git log >ChangeLog
else
echo "No git, generating stub ChangeLog ..."
touch ChangeLog
fi
+ # Copy README.markdown for README to make automake happy
+ if ! [ -e README ]; then
+ ln -sv README.markdown README || cp README.markdown README
+ fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt
echo "Running autoconf ..."

0 comments on commit 4bd1b3e

Please sign in to comment.