anoadragon453 / qubes-file-trust

Service files and daemon for file-based trust levels on QubesOS
3 stars 3 forks source link

Makefile: consider less hard-coded paths #4

Open jpouellet opened 7 years ago

jpouellet commented 7 years ago

e.g. prefix instead of /usr, etc.

more info here: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html#Directory-Variables

anoadragon453 commented 7 years ago

Is $(DESTDIR) not enough or should it be more in the form of $(DESTDIR)/$(prefix)/qvm-open-trust-based?

jpouellet commented 7 years ago

I believe the proper form for your example would be $(DESTDIR)$(bindir)/qvm-open-trust-based

anoadragon453 commented 7 years ago

The link mentions the following for bindir:

The directory for installing executable programs that users can run. This should normally be /usr/local/bin, but write it as $(exec_prefix)/bin.