You decide your life's meaning, and that is all. You'll die like everyone else, and most likely a few hundred years from now not a soul on the planet will even have the slightest clue who you are.
Perhaps you'll be famous for something, perhaps you'll even change the world, in which case that is what you will be remembered for. Nothing else. Everyone knows who George Washington was, but nobody knows the kind of person he was. Take a look at your life and how complex your thoughts and emotions are. Now look at how broadly generalized our interpretations of a dead person's thoughts are.
You will never be anything more after your death than a one-dimensional semblance of your true life.
However, it's not about people actively attributing things to you that matters. No, the meaning of life is inspiring those around you. When you change the way even one person thinks, you create a chain of events. Your kids will teach their kids how to act based on how you taught your kids. This cycle continues forever.
Do you know anything about any of your ancestors from 500 years ago? You probably don't, but their most seemingly pointless actions could have caused you to be where you are now. Your great-great-great-grandfather skipping lunch one day may be the reason he met your great-great-great grandmother.
When you realize that every tiny action you do affects people hundreds, perhaps thousands of years from now, that's a powerful piece of knowledge. It will without a doubt inspire you to move mountains, even if you choose not to.