menudefs.hook gets overwritten


menudefs.hook gets overwritten whenever whenever I hit “Update my debian menu.” Not so when I just restart FVWM.

I know, at the top of menudefs.hook it is written:

This file is autogenerated by fvwm update-menus method

Do not edit - any changes to this file will be lost

But, on the other hand, in all forums people just advice that all changes should be put in menudefs.hook.

So, how can I go around vicious circle?

What should I do to generate menudefs.hook and to keep it after changing it so that it don’t get overwritten?