~delthas/senpai-dev

Fix building documentation when not in a git repository v1 APPLIED

Johannes Thyssen Tishman: 1
 Fix building documentation when not in a git repository

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~delthas/senpai-dev/patches/47179/mbox | git am -3
Learn more about email & git

[PATCH v1] Fix building documentation when not in a git repository Export this patch

e.g. when building from a release tarball
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8b975ac..46456e2 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ BINDIR ?= bin
MANDIR ?= share/man
APPDIR ?= share/applications

ifneq (, $(shell which $(GIT) 2>/dev/null))
ifeq (0, $(shell $(GIT) status >/dev/null 2>&1; echo $$?))
export SOURCE_DATE_EPOCH ?= $(shell $(GIT) log -1 --pretty=%ct)
endif


base-commit: e92997b9edd0a4882e1e318ccdc2a579f0abb09b
-- 
2.43.0
Hi,

Thanks for your patch.

Pushed :)

To git.sr.ht:~delthas/senpai
    ea86a2e..686d365  master -> master