mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 00:35:25 +01:00
Reduce number of places where perl version is hardcoded.
This commit is contained in:
parent
4276dfee1d
commit
d5c8698964
9 changed files with 25 additions and 19 deletions
|
|
@ -2,7 +2,11 @@
|
|||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
VERSION=5.005_03
|
||||
PRIVLIB_EXP=$(PREFIX)/lib/perl5/$(VERSION)
|
||||
|
||||
CC = tcc
|
||||
CFLAGS = -DPRIVLIB_EXP=\"$(PRIVLIB_EXP)\"
|
||||
|
||||
.PHONY: all
|
||||
|
||||
|
|
@ -16,5 +20,5 @@ miniperl: $(MINIPERL_OBJ)
|
|||
|
||||
install: all
|
||||
install miniperl $(PREFIX)/bin/perl
|
||||
mkdir -p $(PREFIX)/lib/perl5/5.005_03
|
||||
cp -R lib/* $(PREFIX)/lib/perl5/5.005_03/
|
||||
mkdir -p "$(PRIVLIB_EXP)"
|
||||
cp -r lib/* "$(PRIVLIB_EXP)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue