mirror of
git://git.proxmox.com/git/extjs.git
synced 2025-12-06 02:56:58 -05:00
This doesn't change often (not sure if sencha even will make another GPL release..) and if installed dynamically on build from the extjs license.txt it also is incomplete w.r.t. our packaging copyright. Just copy the content of extjs/licenses/license.txt over once into debian/copyright. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
PACKAGE=libjs-extjs
|
|
|
|
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
|
GITVERSION:=$(shell git rev-parse HEAD)
|
|
|
|
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
|
|
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
|
|
|
|
all: deb
|
|
|
|
$(BUILDDIR): debian extjs
|
|
rm -rf $@ $@.tmp && mkdir -p $@.tmp/extjs
|
|
cp -a debian/ $@.tmp/debian
|
|
cp -a extjs/build/ $@.tmp/extjs/build
|
|
mv $@.tmp $@
|
|
|
|
.PHONY: deb
|
|
deb: $(DEB)
|
|
$(DEB): $(BUILDDIR)
|
|
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
|
|
lintian $@
|
|
|
|
.PHONY: dsc
|
|
dsc: $(DSC)
|
|
$(DSC): $(BUILDDIR)
|
|
cd $(BUILDDIR); tar czf ../$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz *
|
|
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
|
lintian $@
|
|
|
|
.PHONY: upload
|
|
upload: $(DEB)
|
|
tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bookworm
|
|
|
|
.PHONY: distclean clean
|
|
distclean: clean
|
|
clean:
|
|
rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc
|
|
find . -name '*~' -exec rm () ';'
|
|
|
|
.PHONY: dinstall
|
|
dinstall: $(DEB)
|
|
dpkg -i $(DEB)
|