Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3153418
autogen.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
976 B
Referenced Files
None
Subscribers
None
autogen.sh
View Options
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
version_files=".snapshot-version .tarball-version .version"
work_tree=0; test -n "$(cat $version_files 2>/dev/null|head -n1)" || work_tree=1
autoreconf_opts=${autoreconf_opts=-i -v}; test $# -eq 0 || autoreconf_opts=$*
# -f to always adapt to actual project's version dynamically @ dev's checkout
test $work_tree -eq 0 || autoreconf_opts="$autoreconf_opts -f"
autoreconf $autoreconf_opts || exit $?
if grep -Eq '\-yank' $version_files 2>/dev/null; then
echo ': CONSUME SNAPSHOTS ONLY AT YOUR RISK (genuine releases recommended!)'
printf ': snapshot version: '
elif test $work_tree -eq 0; then
echo ': About to consume a source distribution (genuine release advised)...'
printf ': tracked version: '
else
echo ': About to consume a checked out tree (dedicated for maintenance!)...'
fi
cat $version_files 2>/dev/null | head -n1; rm -f .snapshot-version
echo ': Now run ./configure && make'
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Feb 25, 6:41 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464933
Default Alt Text
autogen.sh (976 B)
Attached To
Mode
rQ LibQB
Attached
Detach File
Event Timeline
Log In to Comment