mirror of
https://git.proxmox.com/git/proxmox-offline-mirror
synced 2025-07-27 15:10:06 +00:00
buildsys: avoid that build directory is created by phony target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a0a1cae4b4
commit
ad436fabdf
7
Makefile
7
Makefile
@ -34,7 +34,8 @@ $(SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
build: $(BUILDDIR)
|
||||
$(BUILDDIR):
|
||||
rm -rf $(BUILDDIR) $(BUILDDIR_TMP); mkdir $(BUILDDIR_TMP)
|
||||
rm -f debian/control
|
||||
debcargo package \
|
||||
@ -52,13 +53,13 @@ build:
|
||||
|
||||
.PHONY: deb
|
||||
deb: $(DEB)
|
||||
$(DEB): build
|
||||
$(DEB): $(BUILDDIR)
|
||||
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc --no-pre-clean
|
||||
lintian $(DEB) $(DOC_DEB) $(HELPER_DEB)
|
||||
|
||||
.PHONY: dsc
|
||||
dsc: $(DSC)
|
||||
$(DSC): build
|
||||
$(DSC): $(BUILDDIR)
|
||||
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d -nc
|
||||
lintian $(DSC)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user