I've been using linux for a few years now, yet i'm still not sure how to configure my environment. If a makefile has path variables, how do i set these correctly so that my compiled software is put in the opt directory?
relevant makefile portion for make install:
A more general question relates to the general usage of opt. Should all the necessary libraries also be installed to the opt directory, say in opt/lib? I wanted opt to have all the source i needed to build non package software.
$(MAKE) -C src $(@)
install -m 755 $(SCRIPTS) $(DESTDIR)$(sbindir)
install -d $(DESTDIR)$(mandir)
install -m 644 ./manpages/* $(DESTDIR)$(mandir)