Skip to content

Commit

Permalink
Resolve #66 by cleaning all archives for HAp and Lua
Browse files Browse the repository at this point in the history
  • Loading branch information
DBezemer committed Apr 16, 2024
1 parent 7cf2985 commit 6bf55a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,18 @@ install_prereq:
$(SUDO) $(PACKAGE_MANAGER) install $(INSTALL_FLAGS) $(PREREQ)

clean:
rm -f ./SOURCES/haproxy-${VERSION}.tar.gz
rm -f ./SOURCES/haproxy-*.tar.gz
rm -rf ./SOURCES/lua-*
rm -rf ./rpmbuild
mkdir -p ./rpmbuild/SPECS/ ./rpmbuild/SOURCES/ ./rpmbuild/RPMS/ ./rpmbuild/SRPMS/
rm -rf ./lua-${LUA_VERSION}*

download-upstream:
curl -o ./SOURCES/haproxy-${VERSION}.tar.gz http://www.haproxy.org/download/${MAINVERSION}/src/haproxy-${VERSION}.tar.gz

build_lua:
rpm -q readline-devel || $(SUDO) yum install -y readline-devel
curl -O https://www.lua.org/ftp/lua-${LUA_VERSION}.tar.gz
curl -o ./SOURCES/lua-${LUA_VERSION}.tar.gz https://www.lua.org/ftp/lua-${LUA_VERSION}.tar.gz
cd ./SOURCES
tar xzf lua-${LUA_VERSION}.tar.gz
cd lua-${LUA_VERSION}
$(MAKE) -C lua-${LUA_VERSION} clean
Expand Down

0 comments on commit 6bf55a7

Please sign in to comment.