aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2024-12-20 15:26:59 +0100
committerGuilhem Moulin <guilhem@debian.org>2024-12-20 15:27:02 +0100
commit4509acbb9fe7bd1974a4fe855c750ea9c590023b (patch)
tree846390546a7cea63961746ffc754d56f5ae278af /debian/rules
parent44402ac98fbc6ceb0b514a753a17fc072f9d5ed8 (diff)
d/rules: Export variables instead of setting them through $MAKEFLAGS.
The latter doesn't work as of GNU Make 4.4.1. Closes: #1089264
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 0234c6a..36a24cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
-MAKEFLAGS = prefix=/usr sitelib=/usr/share/perl5
+export prefix=/usr
+export sitelib=$(prefix)/share/perl5
%:
dh $@