From e59c8fd1b5294b59837432c70787bf9bbd5ccc03 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 26 Apr 2024 15:43:27 +0200 Subject: [PATCH] buildsys: avoid that the dinstall target always triggers a rebuild Signed-off-by: Thomas Lamprecht --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 74be378..e5d1634 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,8 @@ DEBS=$(DEB) $(DEB2) all: $(DEBS) .PHONY: dinstall -dinstall: deb - dpkg -i $(DEBS) +dinstall: $(DEB) + dpkg -i $< $(BUILDDIR): rm -rf $(BUILDDIR) @@ -25,7 +25,7 @@ $(BUILDDIR): .PHONY: deb deb: $(DEBS) $(DEB2): $(DEB) -$(DEB): $(BUILDDIR) check +$(DEB): $(BUILDDIR) cd $(BUILDDIR); dpkg-buildpackage -b -us -uc lintian $(DEBS) @@ -41,7 +41,6 @@ $(DSC): $(BUILDDIR) sbuild: $(DSC) sbuild $(DSC) -.PHONY: check check: make -C test check