Fix various things to use ${DESTDIR}

This commit is contained in:
fosslinux 2022-01-14 21:53:30 +11:00
parent 016b9511d2
commit b8ef19150c
28 changed files with 46 additions and 36 deletions

View file

@ -132,6 +132,6 @@ endef
$(foreach f,$(EXTENSIONS),$(eval $(call build_rule,$f)))
install: all
install perl "$(DESTDIR)$(PREFIX)/bin/perl"
install -D perl "$(DESTDIR)$(PREFIX)/bin/perl"
mkdir -p "$(DESTDIR)$(PRIVLIB_EXP)"
cp -r lib/* "$(DESTDIR)$(PRIVLIB_EXP)"