mirror of
https://git.proxmox.com/git/extjs
synced 2025-10-04 16:34:46 +00:00
write current git commit to package docs on build
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c5f36b681e
commit
f3417b078c
2
Makefile
2
Makefile
@ -4,7 +4,6 @@ PACKAGE=libjs-extjs
|
|||||||
|
|
||||||
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
||||||
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
|
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
|
||||||
GITVERSION:=$(shell git rev-parse HEAD)
|
|
||||||
|
|
||||||
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
|
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
|
||||||
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
|
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
|
||||||
@ -15,6 +14,7 @@ $(BUILDDIR): debian extjs
|
|||||||
rm -rf $@ $@.tmp && mkdir -p $@.tmp/extjs
|
rm -rf $@ $@.tmp && mkdir -p $@.tmp/extjs
|
||||||
cp -a debian/ $@.tmp/debian
|
cp -a debian/ $@.tmp/debian
|
||||||
cp -a extjs/build/ $@.tmp/extjs/build
|
cp -a extjs/build/ $@.tmp/extjs/build
|
||||||
|
echo "git clone git://git.proxmox.com/git/extjs.git\\ngit checkout $$(git rev-parse HEAD)" > $@.tmp/debian/SOURCE
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
|
Loading…
Reference in New Issue
Block a user