]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add "format dictionary" target
authorAlan T. DeKok <aland@freeradius.org>
Wed, 27 Mar 2019 11:34:22 +0000 (07:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 27 Mar 2019 11:34:52 +0000 (07:34 -0400)
Makefile

index f05205c92ee21d314bb313469773db5603107e83..1d6a28fb44df54ed75435d0ceca1daef238de290 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,10 @@ $(R)$(dictdir)/%: share/dictionary/%
        @echo INSTALL $(patsubst share/dictionary/%,%,$<)
        @$(INSTALL) -m 644 $< $@
 
+.PHONY: dictionary.format
+dictionary.format: $(DICTIONARIES)
+       @./scripts/dict/format.pl $(DICTIONARIES)
+
 MANFILES := $(wildcard man/man*/*.?)
 install.man: $(subst man/,$(R)$(mandir)/,$(MANFILES))