Skip to content

Commit

Permalink
Makefile: Add DESTDIR to support cross-builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasanth-rp committed Aug 29, 2024
1 parent b6442c3 commit 2f2cd6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ clean:
#
.PHONY: install
install: all
@mkdir -p /lib/security
install -m 0644 pam_radius_auth.so /lib/security
install -m 0644 pam_radius_auth.conf /etc/pam_radius_auth.conf
install -Dm 0644 pam_radius_auth.so $(DESTDIR)/lib/security/pam_radius_auth.so
install -Dm 0644 pam_radius_auth.conf $(DESTDIR)/etc/pam_radius_auth.conf

######################################################################
#
Expand Down

0 comments on commit 2f2cd6c

Please sign in to comment.