mirror of
https://git.proxmox.com/git/proxmox-archive-keyring
synced 2025-05-30 22:47:38 +00:00
makefile: convert to use simple parenthesis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0dedfbbb01
commit
af14f46289
24
Makefile
24
Makefile
@ -4,28 +4,28 @@ PACKAGE=proxmox-archive-keyring
|
|||||||
|
|
||||||
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
|
||||||
|
|
||||||
BUILD_DIR=build
|
BUILD_DIR=build
|
||||||
|
|
||||||
all: deb
|
all: deb
|
||||||
deb: ${DEB}
|
deb: $(DEB)
|
||||||
|
|
||||||
${DEB}: debian
|
$(DEB): debian
|
||||||
rm -rf ${BUILD_DIR}
|
rm -rf $(BUILD_DIR)
|
||||||
mkdir -p ${BUILD_DIR}/debian
|
mkdir -p $(BUILD_DIR)/debian
|
||||||
cp -ar debian/* ${BUILD_DIR}/debian/
|
cp -ar debian/* $(BUILD_DIR)/debian/
|
||||||
echo "git clone git://git.proxmox.com/git/proxmox-archive-keyring.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian/SOURCE
|
echo "git clone git://git.proxmox.com/git/proxmox-archive-keyring.git\\ngit checkout $(GITVERSION)" > $(BUILD_DIR)/debian/SOURCE
|
||||||
cd ${BUILD_DIR}; dpkg-buildpackage -b -uc -us
|
cd $(BUILD_DIR); dpkg-buildpackage -b -uc -us
|
||||||
lintian ${DEB}
|
lintian $(DEB)
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: ${DEB}
|
upload: $(DEB)
|
||||||
tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs,pbs-client,infra --dist bookworm
|
tar cf - $(DEB)|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs,pbs-client,infra --dist bookworm
|
||||||
|
|
||||||
.PHONY: distclean
|
.PHONY: distclean
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf *~ ${BUILD_DIR} *.deb *.dsc *.changes *.buildinfo
|
rm -rf *~ $(BUILD_DIR) *.deb *.dsc *.changes *.buildinfo
|
||||||
|
Loading…
Reference in New Issue
Block a user