Skip to content

Commit

Permalink
Fix architecture in Debian documentation package filenames.
Browse files Browse the repository at this point in the history
Closes #205.
  • Loading branch information
jakepetroules committed Jan 30, 2014
1 parent 0eb8fc6 commit 5b664e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmake/postpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ for component in "${components[@]}" ; do
pkgname=libaxr-$component
fi

archcode=@ARCH_CODE@
if [[ $component = 'doc' ]] ; then
archcode=all
fi

olddeb=@CPACK_PACKAGE_FILE_NAME@-$component.deb
newdeb=${pkgname}_@AXR_VERSION_STRING@_@ARCH_CODE@.deb
newdeb=${pkgname}_@AXR_VERSION_STRING@_${archcode}.deb

cd "@CMAKE_BINARY_DIR@/dist"

Expand Down

0 comments on commit 5b664e8

Please sign in to comment.