From: brouard Date: Mon, 5 Aug 2024 16:33:34 +0000 (+0200) Subject: Adapting Makefile and ChangeLog to git X-Git-Url: https://henry.ined.fr/git/?a=commitdiff_plain;h=583f243dca37714862b2b806c87b3c62cf0fbbda;p=.git Adapting Makefile and ChangeLog to git --- 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 ;\