Document Home | Document Index
This may seem a bit complicated, but it's a useful exercise for future reference, it may apply (mostly) to other cloned Git repositories.
git clone --recursive git://git.tartarus.org/simon/halibut.git
creates a directory halibut containing the Git repository embedded in a checkout. Save this in git-halibut-20170813.tar.xz (current date in the name) for possible future use.
cd .. rm -rf halibut tar xvf halibut-temp.tar.xz cd halibut-temp
sed -e '/NOVERSION/s//7ed66467ff/g' configure.ac -i
sed -e '/^#define/s!$!*/! ; s!^!/*!' version.h -i
./autogen.sh ./configure make dist-xz mv halibut-7ed66467ff.tar.xz ..
cd .. rm -rf halibut-temp halibut-temp.tar