From 2065d02aafec435c2481fbd3f4b5d33f67a2f5d8 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 16 Jan 2022 13:50:50 -0600 Subject: [PATCH] hdb: clang-format ASN.1 compiler outputs --- lib/hdb/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hdb/Makefile.am b/lib/hdb/Makefile.am index 968f80658..d48d7a1e1 100644 --- a/lib/hdb/Makefile.am +++ b/lib/hdb/Makefile.am @@ -147,6 +147,7 @@ $(gen_files_hdb) hdb_asn1.h hdb_asn1-priv.h: hdb_asn1_files hdb_asn1_files: $(ASN1_COMPILE_DEP) $(srcdir)/hdb.asn1 $(ASN1_COMPILE) --option-file=$(srcdir)/hdb.opt $(srcdir)/hdb.asn1 hdb_asn1 + $(CLANG_FORMAT) -style='{BasedOnStyle: Mozilla, AlwaysBreakAfterReturnType: TopLevelDefinitions, IndentWidth: 4, SortIncludes: false}' -i $$(cat hdb_asn1_files) # to help stupid solaris make