Closed andy5995 closed 6 years ago
This requires the Makefile.am in installdir/ to have an uninstall target.
No, it requires the Makefile.am to Not hardcode where it install these files. I've fixed the files in bin/, and is working on the others.
Why are the images installed into ./htdocs/htdig/ ? If one package this in, say, rpm, which have «--prefix /usr» the htdocs will end up in /usr/htdocs, when it belongs in /usr/share/hldig/htdocs.
I spoke too soon. The install phase assumes the location where everything is installed is the location it will end up!
This is a flawed assumption. Unlike Debian, rpm packaging does not use fakeroot, we use DESTDIR, and most of the conditional sed scripts are not executed as a result.
These file don't get removed when
make uninstall
is run.One side effect of this problem is that if these files are altered in the source folder, they won't overwrite and update the files in the install directory the next time
make install
is run.