Skip to content

Commit 5b664e8

Browse files
committed
Fix architecture in Debian documentation package filenames.
Closes #205.
1 parent 0eb8fc6 commit 5b664e8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cmake/postpackage.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ for component in "${components[@]}" ; do
1212
pkgname=libaxr-$component
1313
fi
1414

15+
archcode=@ARCH_CODE@
16+
if [[ $component = 'doc' ]] ; then
17+
archcode=all
18+
fi
19+
1520
olddeb=@CPACK_PACKAGE_FILE_NAME@-$component.deb
16-
newdeb=${pkgname}_@AXR_VERSION_STRING@_@ARCH_CODE@.deb
21+
newdeb=${pkgname}_@AXR_VERSION_STRING@_${archcode}.deb
1722

1823
cd "@CMAKE_BINARY_DIR@/dist"
1924

0 commit comments

Comments
 (0)