kilobyte / compsize

btrfs: find compression type/ratio on a file or set of files
Other
344 stars 23 forks source link

Support DESTDIR in Makefile #39

Closed AdrianVovk closed 3 years ago

AdrianVovk commented 3 years ago

Currently, the Makefile ignores DESTDIR, making it impossible to use make to install this package in a distro setting without extra configuration. Instead, we have to do install -Dm755 compsize $DESTDIR$PREFIX/bin/compsize or run make install PREFIX=$DESTDIR$PREFIX which is unwieldly either way. Some distro build systems have the standard make commands baked in, and having to override the defaults is cumbersome