Sha256: dceef26045abdcc5fd7524886b1355b2f6fbce690327c8b560bc33f9fdf6505f

Contents?: true

Size: 1 KB

Versions: 35

Compression:

Stored size: 1 KB

Contents

.PHONY: dist-deb

# Defined by CMake. For autotools, these will just be the normal build tree
BUILDROOT		?= $(shell pwd)
SRCROOT			?= $(shell pwd)

# Variables derived
GITPARSE		:= $(SRCROOT)/packaging/parse-git-describe.pl
DEB_WORKSPACE	:= $(BUILDROOT)/build-deb
DEB_DIR			:= $(DEB_WORKSPACE)/$(PACKAGE)-$(VERSION)
DEB_VERSION		:= $(shell $(GITPARSE) --deb --input $(REVDESCRIBE))
TAR_VERSION		:= $(shell $(GITPARSE) --tar --input $(REVDESCRIBE))

dist-deb: dist
	cd $(BUILDROOT)
	rm -rf $(DEB_WORKSPACE)
	mkdir -p $(DEB_DIR)
	cp -r $(SRCROOT)/packaging/deb $(DEB_DIR)/debian
	cp $(BUILDROOT)/$(PACKAGE)-$(TAR_VERSION).tar.gz $(DEB_WORKSPACE)/$(PACKAGE)_$(DEB_VERSION).orig.tar.gz
	(cd $(DEB_WORKSPACE); tar zxvf $(PACKAGE)_$(DEB_VERSION).orig.tar.gz)
	(\
		cd $(DEB_DIR); \
		dch \
		--package=libcouchbase \
		--create \
		--newversion="$(DEB_VERSION)" \
		"Release package for $(DEB_VERSION)" && \
		dpkg-buildpackage -rfakeroot ${DEB_FLAGS}\
	)
	mv $(DEB_WORKSPACE)/*.{changes,deb,dsc,tar.gz} `pwd`
	rm -rf $(DEB_WORKSPACE)

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
mt-libcouchbase-1.4.03 ext/libcouchbase/packaging/deb/package.mk
mt-libcouchbase-1.4.02 ext/libcouchbase/packaging/deb/package.mk
mt-libcouchbase-1.4.01 ext/libcouchbase/packaging/deb/package.mk
mt-libcouchbase-1.4.0 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.3.2 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.3.0 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.8 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.7 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.6 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.5 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.4 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.3 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.2 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.1 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.2.0 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.1.1 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.1.0 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.0.4 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.0.3 ext/libcouchbase/packaging/deb/package.mk
libcouchbase-1.0.2 ext/libcouchbase/packaging/deb/package.mk