Makefile: support DESTDIR
When packaging applications, the application is commonly installed into a different location than it will end up on the users system. While `prefix` can control where the files will be installed, it also affects the location the `git_filter_repo` symlink points to. If the files are then installed in a different location, the symlink is broken. `DESTDIR` is a de facto standard variable to control where files are installed, so that prefix can be used to specify where the files end up on the end-users system. This allows a usecase like `make install prefix=/usr DESTDIR=pkg`. Signed-off-by: Kevin Daudt <me@ikke.info>pull/331/head
parent
4ef1aabd4d
commit
e1e418018e
Loading…
Reference in New Issue