diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,7 +61,10 @@ $(PROJ): $(PROJ).c usage.c usage.c: mkusage.pl $(PROJ).8 perl mkusage.pl $(PROJ).rst > usage.c -$(PROJ).8: $(PROJ).rst +ver.rst: Makefile + echo '.. |version| replace:: $(VERSION)' > ver.rst + +$(PROJ).8: $(PROJ).rst ver.rst rst2man $(PROJ).rst > $(PROJ).8 99-$(PROJ).rules: |