Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Use C.UTF-8 for setup register output.
· 0700340b
Clint Adams
authored
Apr 11, 2018
0700340b
changelog for 0.13.7
· 7b047caf
Clint Adams
authored
Apr 11, 2018
7b047caf
Show whitespace changes
Inline
Side-by-side
Dh_Haskell.sh
View file @
7b047caf
...
...
@@ -502,7 +502,7 @@ haddock_recipe(){
extra_depends_recipe
(){
# local PS5=$PS4; PS4=" + extra_depends_recipe> "; set -x
hc
=
$1
pkg_config
=
`
LC_ALL
=
C
${
DEB_SETUP_BIN_NAME
}
register
--builddir
=
dist-
${
hc
}
--gen-pkg-config
--verbose
=
2 |
sed
-r
-n
'/^Creating package registration file: /s///p'
`
pkg_config
=
`
LC_ALL
=
C
.UTF-8
${
DEB_SETUP_BIN_NAME
}
register
--builddir
=
dist-
${
hc
}
--gen-pkg-config
--verbose
=
2 |
sed
-r
-n
'/^Creating package registration file: /s///p'
`
run dh_haskell_extra_depends
${
hc
}
$pkg_config
rm
$pkg_config
# PS4=$PS5
...
...
@@ -519,7 +519,7 @@ install_dev_recipe(){
(
run
cd
debian/tmp-inst-
${
hc
}
;
run
mkdir
-p
${
libdir
}
;
run find
${
libdir
}
/
\
\(
!
-name
"*_p.a"
!
-name
"*.p_hi"
!
-type
d
\)
\
-exec
install
-Dm
644
'{}'
../
${
PKG
}
/
'{}'
';'
)
pkg_config
=
`
LC_ALL
=
C
${
DEB_SETUP_BIN_NAME
}
register
--builddir
=
dist-
${
hc
}
--gen-pkg-config
--verbose
=
2 |
sed
-r
-n
'/^Creating package registration file: /s///p'
`
pkg_config
=
`
LC_ALL
=
C
.UTF-8
${
DEB_SETUP_BIN_NAME
}
register
--builddir
=
dist-
${
hc
}
--gen-pkg-config
--verbose
=
2 |
sed
-r
-n
'/^Creating package registration file: /s///p'
`
if
[
"
${
HASKELL_HIDE_PACKAGES
}
"
]
;
then
sed
-i
's/^exposed: True$/exposed: False/'
$pkg_config
;
fi
run
install
-Dm
644
$pkg_config
debian/
${
PKG
}
/
${
pkgdir
}
/
$pkg_config
run
rm
-f
$pkg_config
...
...
debian/changelog
View file @
7b047caf
haskell-devscripts (0.13.7) unstable; urgency=medium
* Use C.UTF-8 for setup register output.
-- Clint Adams <clint@debian.org> Wed, 11 Apr 2018 22:10:37 -0400
haskell-devscripts (0.13.6) unstable; urgency=medium
* Switch to register --verbose=2 to ensure necessary output.
...
...