diff options
| author | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2023-05-25 17:37:58 +0200 | 
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2023-05-25 18:18:57 +0200 | 
| commit | 0af69e3bac85227d5c8cdd3297322dae177db6c3 (patch) | |
| tree | 990f3e7ff4aec78124bb5288ffa240caa86fdcd7 /Makefile | |
| parent | 50c52a494e040425cc942ea30f0cfbef62eebef2 (diff) | |
makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 45 | 
1 files changed, 22 insertions, 23 deletions
@@ -2,40 +2,40 @@ include /usr/share/dpkg/pkg-info.mk  PACKAGE=libpve-network-perl -BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM} +BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM) -DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb -DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc -TARGZ=${PACKAGE}_${PKGVER}-${PKGREL}.tar.gz +DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb +DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc +TARGZ=$(PACKAGE)_$(PKGVER)-$(PKGREL).tar.gz  all: -	${MAKE} -C PVE +	$(MAKE) -C PVE  .PHONY: dinstall  dinstall: deb -	dpkg -i ${DEB} +	dpkg -i $(DEB) -${BUILDDIR}: PVE debian -	rm -rf ${BUILDDIR} -	rsync -a * ${BUILDDIR} -	echo "git clone git://git.proxmox.com/git/pve-network.git\\ngit checkout $(shell git rev-parse HEAD)" > ${BUILDDIR}/debian/SOURCE +$(BUILDDIR): PVE debian +	rm -rf $(BUILDDIR) +	rsync -a * $(BUILDDIR) +	echo "git clone git://git.proxmox.com/git/pve-network.git\\ngit checkout $(shell git rev-parse HEAD)" > $(BUILDDIR)/debian/SOURCE  .PHONY: deb -deb: ${DEB} -${DEB}: ${BUILDDIR} -	cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc -	lintian ${DEB} +deb: $(DEB) +$(DEB): $(BUILDDIR) +	cd $(BUILDDIR); dpkg-buildpackage -b -us -uc +	lintian $(DEB)  .PHONY: dsc -dsc ${TARGZ}: ${DSC} -${DSC}: ${BUILDDIR} -	cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc -	lintian ${DSC} +dsc $(TARGZ): $(DSC) +$(DSC): $(BUILDDIR) +	cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d -nc +	lintian $(DSC)  .PHONY: clean distclean  distclean: clean  clean: -	rm -rf *~ *.deb *.changes ${PACKAGE}-* *.buildinfo *.dsc *.tar.gz +	rm -rf *~ *.deb *.changes $(PACKAGE)-* *.buildinfo *.dsc *.tar.gz  .PHONY: test  test: @@ -43,9 +43,8 @@ test:  .PHONY: install  install: -	${MAKE} -C PVE install +	$(MAKE) -C PVE install  .PHONY: upload -upload: ${DEB} -	tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye - +upload: $(DEB) +	tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye  | 
