X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=meson.build;h=488230e8fc43eaa5e78051d1f6722f97414e6253;hb=9c577bd201009f14b4cb5d8540b6dc03246f6165;hp=14580158dc6f1a685b1c9159753618ef0d98ff78;hpb=6daf3f04fe51246f2bb7b0e3d369fec7d22d2d70;p=tinc diff --git a/meson.build b/meson.build index 14580158..488230e8 100644 --- a/meson.build +++ b/meson.build @@ -138,12 +138,7 @@ if os_name == 'linux' and not opt_systemd.disabled() subdir('systemd') endif -prog_reformat = find_program('astyle', native: true, required: false) -if prog_reformat.found() - run_target('reformat', command: [ - prog_reformat, - '--options=@SOURCE_ROOT@/.astylerc', '--recursive', - '@SOURCE_ROOT@/*.c', '@SOURCE_ROOT@/*.h', - ]) -endif - +run_target('reformat', command: [ + find_program('python3'), + '@SOURCE_ROOT@/reformat.py', +])