From 583f243dca37714862b2b806c87b3c62cf0fbbda Mon Sep 17 00:00:00 2001 From: brouard Date: Mon, 5 Aug 2024 18:33:34 +0200 Subject: [PATCH] Adapting Makefile and ChangeLog to git --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index 16557eb..2dfbba6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -180,6 +180,7 @@ ChangeLog: # git log --pretty="tformat:* %cd %an <%ae> (%h)%n- %s%b%n" | perl -lap00e "~s/(\d\{2]:){2}\d{2} (\d{4}) [+-]\d{4}/$2/g">ChangeLog imachrpm : imachopt.o ChangeLog + LANG=C git log --date=format:"%a %b %d %Y" --pretty="tformat:* %ad %an <%ae> (%h)%n- %s%b%n" >ChangeLog pwd mkdir -p ../build && mkdir -p ../build/Output pwd @@ -192,6 +193,7 @@ imachrpm : imachopt.o ChangeLog cp imach-$(VERSION)-*.rpm ../Output/ ;) imachsrcrpm : imachopt.o ChangeLog + LANG=C git log --date=format:"%a %b %d %Y" --pretty="tformat:* %ad %an <%ae> (%h)%n- %s%b%n" >ChangeLog pwd mkdir -p ../build && mkdir -p ../build/Output (cd ../build && rm -rf gnulinux && mkdir gnulinux && cd gnulinux ;\ -- 2.43.0