From e7656726f30ae38899fd5e4a39a15da26e5c856d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Apr 2023 07:47:26 -0300 Subject: Generate .en.md symlinks in aux/dev.mk --- aux/dev.mk | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'aux') diff --git a/aux/dev.mk b/aux/dev.mk index 5af3329..5144a42 100644 --- a/aux/dev.mk +++ b/aux/dev.mk @@ -29,9 +29,8 @@ manpages.html = $(manpages.in:.in=.html) md_files.html = $(md_files:.md=.html) -public: manpages.sentinel public/makefile.svg po/po4a.cfg md.sentinel \ - public/index.html public/ci public/TODOs.html public/style.css \ - public/favicon.svg +public: manpages.sentinel public/makefile.svg md.sentinel public/index.html \ + public/ci public/TODOs.html public/style.css public/favicon.svg touch $@ public/index.html: @@ -74,8 +73,21 @@ public/makefile.svg: Makefile mkdir -p $(@D) LANG=en.UTF-8 make -Bnd dev | make2graph | dot -Tsvg >$@ -po/po4a.cfg: $(en_files) po - sh aux/po4a-cfg.sh -f '$(en_files) aux/checks/manpages/footer.en.0.in' > $@ + +index.en.md: + ln -s README.md $@ + +CHANGELOG.en.md: + ln -s CHANGELOG.md $@ + +all_en_files = \ + $(en_files) \ + index.en.md \ + CHANGELOG.en.md + +po/po4a.cfg: $(all_en_files) po + sh aux/po4a-cfg.sh -f '$(all_en_files) aux/checks/manpages/footer.en.0.in' > $@ + po4a $@ test-files = \ -- cgit v1.2.3