Makefile fixes #325
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "makefile-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
uninstall
where a.svg
wasn't being `rm -f'ed./usr/local
by default, but allow thePREFIX
variable to be overridden.Is installing to /usr/local by default recommended?
/usr
is reserved for software installed by the package manager,/usr/local
is reserved for software installed by the system administrator. So your rpm/deb/etc specs should continue to install into/usr
, butmake install
should definitely install into/usr/local
. See the FHS for more info.Since debian/rules and RPM spec just call make install how can the system tell the difference between an installation from a package and a manual make install?
For
debian/rules
I have seen this done:I would consult a second opinion on debian packaging etiquette, since another developer submitted the above code to one of my projects.
For
rpm/*.spec
I do this: