Skip to content

Commit

Permalink
Revert "build with gaia"
Browse files Browse the repository at this point in the history
This reverts commit 8d4bc7b.
  • Loading branch information
labkode committed Nov 13, 2023
1 parent 8d4bc7b commit 59c33f1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@ VERSION = $(shell awk '$$1 == "Version:" { print $$2 }' $(SPECFILE) )
RELEASE = $(shell awk '$$1 == "Release:" { print $$2 }' $(SPECFILE) )
rpmbuild = ${shell pwd}/build

clean:
@rm -rf $(PACKAGE)-$(VERSION)
@rm -rf $(rpmbuild)

rpmdefines=--define='_topdir ${rpmbuild}' \
--define='_sourcedir %{_topdir}/SOURCES' \
--define='_builddir %{_topdir}/BUILD' \
--define='_srcrpmdir %{_topdir}/SRPMS' \
--define='_rpmdir %{_topdir}/RPMS'

clean:
@rm -rf $(PACKAGE)-$(VERSION)
@rm -rf $(rpmbuild)

gaia:
go install github.com/cs3org/gaia@latest

dist: clean gaia
dist: clean
go env
make revad-ceph
mv cmd/revad/revad cmd/revad/revad-ceph
gaia build --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) -o ./cmd/revad/revad
make revad
@mkdir -p $(PACKAGE)-$(VERSION)
cp -r cmd/revad/revad cmd/revad/revad-ceph $(PACKAGE)-$(VERSION)
tar cpfz ./$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
Expand Down

0 comments on commit 59c33f1

Please sign in to comment.