Skip to content

Commit

Permalink
Merge pull request #98 from rprasanth/master
Browse files Browse the repository at this point in the history
Makefile: Add DESTDIR to support cross-builds
  • Loading branch information
alandekok authored Aug 29, 2024
2 parents b6442c3 + 2f2cd6c commit c898ed1
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 c898ed1

Please sign in to comment.