mirror of
https://git.proxmox.com/git/extjs
synced 2025-08-07 12:40:06 +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
|
||||
|
||||
BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
|
||||
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
|
||||
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
|
||||
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
|
||||
|
||||
all: deb
|
||||
|
||||
${BUILDDIR}: debian extjs
|
||||
$(BUILDDIR): debian extjs
|
||||
rm -rf $@ $@.tmp
|
||||
mkdir $@.tmp
|
||||
rsync -a debian/ $@.tmp/debian
|
||||
@ -20,28 +20,28 @@ ${BUILDDIR}: debian extjs
|
||||
mv $@.tmp $@
|
||||
|
||||
.PHONY: deb
|
||||
deb: ${DEB}
|
||||
${DEB}: ${BUILDDIR}
|
||||
cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
|
||||
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
|
||||
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
|
||||
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}-*/ *.deb *.changes *.buildinfo *.orig.tar.* *.dsc *.debian.tar.*
|
||||
find . -name '*~' -exec rm {} ';'
|
||||
rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc
|
||||
find . -name '*~' -exec rm () ';'
|
||||
|
||||
.PHONY: dinstall
|
||||
dinstall: ${DEB}
|
||||
dpkg -i ${DEB}
|
||||
dinstall: $(DEB)
|
||||
dpkg -i $(DEB)
|
||||
|
Loading…
Reference in New Issue
Block a user