registrar

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 37171c7593ef8e6ba1dbbf88134b2ecb1a833e7d
parent 88fc57f349e126354685a00c87b7554cf7da9e06
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date:   Fri,  1 Sep 2023 11:29:37 -0300

Move templates to dedicated directory

Diffstat:
Dmonthly/monthly.m4 | 18------------------
Mregistrar.lua | 4++--
Rmonthly/editorial.m4 -> templates/monthly/editorial.m4 | 0
Rmonthly/format.lua -> templates/monthly/format.lua | 0
Rmonthly/history.m4 -> templates/monthly/history.m4 | 0
Atemplates/monthly/monthly.m4 | 18++++++++++++++++++
Rmonthly/news.m4 -> templates/monthly/news.m4 | 0
Rmonthly/writs.m4 -> templates/monthly/writs.m4 | 0
Rweekly/banned.m4 -> templates/weekly/banned.m4 | 0
Rweekly/editorial.m4 -> templates/weekly/editorial.m4 | 0
Rweekly/fora.m4 -> templates/weekly/fora.m4 | 0
Rweekly/internal.m4 -> templates/weekly/internal.m4 | 0
Rweekly/news.m4 -> templates/weekly/news.m4 | 0
Rweekly/players.m4 -> templates/weekly/players.m4 | 0
Atemplates/weekly/weekly.m4 | 22++++++++++++++++++++++
Dweekly/weekly.m4 | 22----------------------
16 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/monthly/monthly.m4 b/monthly/monthly.m4 @@ -1,18 +0,0 @@ -define(dhl, `===============================================================================')dnl -define(shl, `------------------------------------------------------------------------------- -')dnl -define(module, shl`$1 - -include($2)')dnl -Date: MAILDATE -`To: <agora-official@agoranomic.org>' -`Subject: [Registrar] Monthly report: Arrivals and Departures' -dhl -`Registrar: juan Arrivals and Departures 'YEAR-MONTH-DAY -dhl - -module(NEWS, monthly/news.m4) -module(EDITORIAL, monthly/editorial.m4) -module(WRITS OF FAGE, monthly/writs.m4) -module(HISTORY, monthly/history.m4) -dhl diff --git a/registrar.lua b/registrar.lua @@ -125,7 +125,7 @@ if args.command == "monthly" then end hist:close() - os.execute(string.format("m4 %s monthly/monthly.m4 > %s", m4flags(defs), fns.tmp)) + os.execute(string.format("m4 %s templates/monthly/monthly.m4 > %s", m4flags(defs), fns.tmp)) if args.p then os.execute(string.format("cat %s", fns.tmp)) @@ -152,7 +152,7 @@ elseif args.command == "weekly" then MAILDATE = os.date("%a, %d %b %Y %T %z"), } - os.execute(string.format("m4 %s weekly/weekly.m4 > %s", m4flags(defs), fns.tmp)) + os.execute(string.format("m4 %s templates/weekly/weekly.m4 > %s", m4flags(defs), fns.tmp)) if args.p then os.execute(string.format("cat %s", fns.tmp)) os.remove(fns.tmp) diff --git a/monthly/editorial.m4 b/templates/monthly/editorial.m4 diff --git a/monthly/format.lua b/templates/monthly/format.lua diff --git a/monthly/history.m4 b/templates/monthly/history.m4 diff --git a/templates/monthly/monthly.m4 b/templates/monthly/monthly.m4 @@ -0,0 +1,18 @@ +define(dhl, `===============================================================================')dnl +define(shl, `------------------------------------------------------------------------------- +')dnl +define(module, shl`$1 + +include($2)')dnl +Date: MAILDATE +`To: <agora-official@agoranomic.org>' +`Subject: [Registrar] Monthly report: Arrivals and Departures' +dhl +`Registrar: juan Arrivals and Departures 'YEAR-MONTH-DAY +dhl + +module(NEWS, templates/monthly/news.m4) +module(EDITORIAL, templates/monthly/editorial.m4) +module(WRITS OF FAGE, templates/monthly/writs.m4) +module(HISTORY, templates/monthly/history.m4) +dhl diff --git a/monthly/news.m4 b/templates/monthly/news.m4 diff --git a/monthly/writs.m4 b/templates/monthly/writs.m4 diff --git a/weekly/banned.m4 b/templates/weekly/banned.m4 diff --git a/weekly/editorial.m4 b/templates/weekly/editorial.m4 diff --git a/weekly/fora.m4 b/templates/weekly/fora.m4 diff --git a/weekly/internal.m4 b/templates/weekly/internal.m4 diff --git a/weekly/news.m4 b/templates/weekly/news.m4 diff --git a/weekly/players.m4 b/templates/weekly/players.m4 diff --git a/templates/weekly/weekly.m4 b/templates/weekly/weekly.m4 @@ -0,0 +1,22 @@ +define(dhl, `===============================================================================')dnl +define(shl, `------------------------------------------------------------------------------- +')dnl +define(module, shl`$1 + +include($2)')dnl +Date: MAILDATE +`To: <agora-official@agoranomic.org>' +`From: juan <juan@juanmeleiro.mat.br>' +`Subject: [Registrar] Weekly report' +dhl +`Registrar: juan The Agoran Directory 'YEAR-MONTH-DAY +dhl + +module(NEWS, templates/weekly/news.m4) +module(PLAYERS, templates/weekly/players.m4) +module(FORA, templates/weekly/fora.m4) +module(BANNED PEOPLE, templates/weekly/banned.m4) +module(INTERNAL, templates/weekly/internal.m4) +module(EDITORIAL, templates/weekly/editorial.m4) + +dhl diff --git a/weekly/weekly.m4 b/weekly/weekly.m4 @@ -1,22 +0,0 @@ -define(dhl, `===============================================================================')dnl -define(shl, `------------------------------------------------------------------------------- -')dnl -define(module, shl`$1 - -include($2)')dnl -Date: MAILDATE -`To: <agora-official@agoranomic.org>' -`From: juan <juan@juanmeleiro.mat.br>' -`Subject: [Registrar] Weekly report' -dhl -`Registrar: juan The Agoran Directory 'YEAR-MONTH-DAY -dhl - -module(NEWS, weekly/news.m4) -module(PLAYERS, weekly/players.m4) -module(FORA, weekly/fora.m4) -module(BANNED PEOPLE, weekly/banned.m4) -module(INTERNAL, weekly/internal.m4) -module(EDITORIAL, weekly/editorial.m4) - -dhl