aboutsummaryrefslogtreecommitdiff
path: root/aux/dev.mk
diff options
context:
space:
mode:
Diffstat (limited to 'aux/dev.mk')
-rw-r--r--aux/dev.mk22
1 files changed, 17 insertions, 5 deletions
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 = \