<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/generate-version.sh, branch 1.2.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-03-06T20:18:31Z</updated>
<entry>
<title>generate-version: check for .git directory in *src* dir</title>
<updated>2020-03-06T20:18:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-06T20:18:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f5ceb958cd51418998100bcd6f69964d95807246'/>
<id>urn:sha1:f5ceb958cd51418998100bcd6f69964d95807246</id>
<content type='text'>
Instead of trying to run `git --rev-parse --is-inside-work-tree`,
check if there's a .git directory under the source directory.

This should fix an issue where we incorrectly decided we where in a
foot git clone when we're just a subdirectory under another
repository.
</content>
</entry>
<entry>
<title>generate-version: redirect *both* stdout and stderr to /dev/null</title>
<updated>2019-11-27T20:19:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-27T20:19:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5b6c941b0a40a425f24909c389a4e34ee57feb83'/>
<id>urn:sha1:5b6c941b0a40a425f24909c389a4e34ee57feb83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>generate-version: handle builds that aren't git clones</title>
<updated>2019-11-24T12:59:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-24T12:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=34f699657a8456165e2456c3e014dd93c5d5813d'/>
<id>urn:sha1:34f699657a8456165e2456c3e014dd93c5d5813d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: fix version generation from git</title>
<updated>2019-10-19T20:09:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-19T20:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=286db002f8c85fee0d65d05c845fb1878fcd11a6'/>
<id>urn:sha1:286db002f8c85fee0d65d05c845fb1878fcd11a6</id>
<content type='text'>
run_command() was only run at configure time, meaning the generated
version (that was passed on to the sources via -DFUZZEL_VERSION)
became stale.

Fix by implementing a shell script that generates a header file, and
wrap this in a custom target that is run every time (but the generated
file is only updated when the version changes)
</content>
</entry>
</feed>
