Skip to content

Commit

Permalink
Fixed packaging scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Oct 1, 2023
1 parent 47a5920 commit 97c7e5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rpm/Dockerfile-centos7
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN wget -qO- https://github.com/bbc/audiowaveform/archive/${AUDIOWAVEFORM_VERSI
cd audiowaveform-${AUDIOWAVEFORM_VERSION} && \
mkdir build && \
cd build && \
cmake -D CMAKE_BUILD_TYPE=Release -D ENABLE_TESTS=0 .. && \
cmake3 -D CMAKE_BUILD_TYPE=Release -D ENABLE_TESTS=0 .. && \
make && \
cpack3 -G RPM

Expand Down
14 changes: 9 additions & 5 deletions ubuntu/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ cleanup() {
rm -rf ${SOURCE_DIR}/.git
rm -rf ${SOURCE_DIR}/.github
rm -rf ${SOURCE_DIR}/.gitignore
rm -rf ${SOURCE_DIR}/test
rm -rf ${SOURCE_DIR}/doc/example.png
rm -rf ${SOURCE_DIR}/doc/DataFormat.md
rm -rf ${SOURCE_DIR}/Doxyfile
rm -rf ${SOURCE_DIR}/rpm
rm -rf ${SOURCE_DIR}/test
rm -rf ${SOURCE_DIR}/ubuntu
}

Expand All @@ -54,6 +56,8 @@ sourcepackage() {
--exclude=.gitignore \
--exclude=.github \
--exclude=debian \
--exclude=doc/example.png \
--exclude=doc/DataFormat.md \
--exclude=Doxyfile \
--exclude=rpm \
--exclude=test \
Expand Down Expand Up @@ -118,14 +122,14 @@ case "$1" in
cleanup
;;

debs)
debs
;;

sourcepackage)
sourcepackage
;;

debs)
debs
;;

deb)
deb
;;
Expand Down

0 comments on commit 97c7e5c

Please sign in to comment.