Skip to content

Commit

Permalink
Merge branch '6.0.2-post' into 6.1.0-post
Browse files Browse the repository at this point in the history
  • Loading branch information
xli1996 committed May 25, 2021
2 parents 269d280 + 3cb54c8 commit e4af50c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions debian/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ ifndef VERSION
VERSION=$(shell grep version pom.xml | head -n 1 | awk -F'>|<' '{ print $$3 }')
endif

ifndef SECURITY_SUFFIX
SECURITY_SUFFIX=
endif

export PACKAGE_TITLE=kafka-rest
export FULL_PACKAGE_TITLE=confluent-kafka-rest
export PACKAGE_NAME=$(FULL_PACKAGE_TITLE)-$(VERSION)
export PACKAGE_NAME=$(FULL_PACKAGE_TITLE)-$(VERSION)$(SECURITY_SUFFIX)

# Defaults that are likely to vary by platform. These are cleanly separated so
# it should be easy to maintain altered values on platform-specific branches
Expand Down Expand Up @@ -80,7 +84,7 @@ install: build
for svc in debian/*.service ; do \
$(INSTALL) -o root -g root -D $$svc $(DESTDIR)$(SYSTEMDDIR)/$$(basename $$svc) ; \
done
pushd "kafka-rest/target/kafka-rest-$(VERSION)-package" ; \
pushd "kafka-rest/target/kafka-rest-$(VERSION)$(SECURITY_SUFFIX)-package" ; \
find bin/ -type f | grep -v README[.]rpm | xargs -I XXX $(INSTALL_X) -o root -g root XXX $(DESTDIR)$(PREFIX)/XXX ;\
find share/ -type f | grep -v README[.]rpm | xargs -I XXX $(INSTALL) -o root -g root XXX $(DESTDIR)$(PREFIX)/XXX ; \
pushd etc/kafka-rest/ ; \
Expand Down

0 comments on commit e4af50c

Please sign in to comment.