Created
January 23, 2015 10:06
-
-
Save phillipberndt/57e317f0b9619943f6d3 to your computer and use it in GitHub Desktop.
Build binaries of all xrandr versions
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/sh | |
git clone http://cgit.freedesktop.org/xorg/app/xrandr/ || exit 1 | |
cd xrandr || exit 1 | |
for TAG in $(git tag | grep "^xrandr-"); do | |
git reset --hard HEAD | |
git clean -fx | |
git checkout $TAG | |
mv configure.ac configure.ac~ | |
grep -vE "(m4_ifndef|m4_fatal|XORG_MACROS_VERSION)" configure.ac~ > configure.ac | |
./autogen.sh | |
make | |
mv xrandr ../$TAG | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment