mirror of
https://git.proxmox.com/git/extjs
synced 2025-10-06 22:48:21 +00:00
buildsys: use simple parenthesis for variables
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
df14c0f691
commit
04a45c2f0f
34
Makefile
34
Makefile
@ -2,15 +2,15 @@ include /usr/share/dpkg/pkg-info.mk
|
|||||||
|
|
||||||
PACKAGE=libjs-extjs
|
PACKAGE=libjs-extjs
|
||||||
|
|
||||||
BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
|
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
||||||
GITVERSION:=$(shell git rev-parse HEAD)
|
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
|
||||||
|
|
||||||
all: deb
|
all: deb
|
||||||
|
|
||||||
${BUILDDIR}: debian extjs
|
$(BUILDDIR): debian extjs
|
||||||
rm -rf $@ $@.tmp
|
rm -rf $@ $@.tmp
|
||||||
mkdir $@.tmp
|
mkdir $@.tmp
|
||||||
rsync -a debian/ $@.tmp/debian
|
rsync -a debian/ $@.tmp/debian
|
||||||
@ -20,28 +20,28 @@ ${BUILDDIR}: debian extjs
|
|||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
deb: ${DEB}
|
deb: $(DEB)
|
||||||
${DEB}: ${BUILDDIR}
|
$(DEB): $(BUILDDIR)
|
||||||
cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
|
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
|
||||||
lintian $@
|
lintian $@
|
||||||
|
|
||||||
.PHONY: dsc
|
.PHONY: dsc
|
||||||
dsc: ${DSC}
|
dsc: $(DSC)
|
||||||
${DSC}: ${BUILDDIR}
|
$(DSC): $(BUILDDIR)
|
||||||
cd ${BUILDDIR}; tar czf ../${PACKAGE}_${DEB_VERSION_UPSTREAM}.orig.tar.gz *
|
cd $(BUILDDIR); tar czf ../$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz *
|
||||||
cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d
|
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
||||||
lintian $@
|
lintian $@
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: ${DEB}
|
upload: $(DEB)
|
||||||
tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bookworm
|
tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bookworm
|
||||||
|
|
||||||
.PHONY: distclean clean
|
.PHONY: distclean clean
|
||||||
distclean: clean
|
distclean: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${PACKAGE}-*/ *.deb *.changes *.buildinfo *.orig.tar.* *.dsc *.debian.tar.*
|
rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc
|
||||||
find . -name '*~' -exec rm {} ';'
|
find . -name '*~' -exec rm () ';'
|
||||||
|
|
||||||
.PHONY: dinstall
|
.PHONY: dinstall
|
||||||
dinstall: ${DEB}
|
dinstall: $(DEB)
|
||||||
dpkg -i ${DEB}
|
dpkg -i $(DEB)
|
||||||
|
Loading…
Reference in New Issue
Block a user