Use ${DESTDIR} variable and @prefix@ to look for files. Can't easily be generated, it has too much customization.