As you know, files installed by package manager will be installed at /usr
, /bin
, etc. If you are installing something manually then you should place it under: /usr/local
.
So in your case instead of using /usr/share
you should use /usr/local/share
to place your files, this path will be untouched by Debian package manager.
You can find more information using: man hier
and by searching for /usr/local
.