aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2023-02-03 19:33:18 -0800
committerLukas Rusak <lorusak@gmail.com>2023-02-04 14:02:17 -0800
commit23f4230151c44a02c06123135bfdad0a8798bc69 (patch)
treedd8e45acd9b221b95096056addfd9e4661061859 /tools/depends
parent22a269c23c1223e6656a77471b0b518c0a4d8004 (diff)
tools/depends: waylandpp-scanner: don't rebuild if already installed
Signed-off-by: Lukas Rusak <lorusak@gmail.com>
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/native/waylandpp-scanner/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/depends/native/waylandpp-scanner/Makefile b/tools/depends/native/waylandpp-scanner/Makefile
index 571412e323..5b28efaa9e 100644
--- a/tools/depends/native/waylandpp-scanner/Makefile
+++ b/tools/depends/native/waylandpp-scanner/Makefile
@@ -11,8 +11,6 @@ ARCHIVE=$(SOURCE).tar.gz
SHA512=bf1b8a9e69b87547fc65989b9eaff88a442d8b2f01f5446cef960000b093390b1e557536837fbf38bb6d9a4f93e3985ea34c3253f94925b0f571b4606c980832
include ../../download-files.include
-APP=$(PLATFORM)/wayland-scanner++
-
CMAKE_OPTIONS := -DBUILD_DOCUMENTATION=OFF \
-DBUILD_LIBRARIES=OFF \
-DBUILD_EXAMPLES=OFF \
@@ -32,10 +30,8 @@ $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
mkdir -p $(BUILDDIR)
cd $(BUILDDIR); $(NATIVEPREFIX)/bin/cmake $(CMAKE_OPTIONS) ..
-$(APP): $(PLATFORM)
+.installed-$(PLATFORM): $(PLATFORM)
$(MAKE) -C $(BUILDDIR)
-
-.installed-$(PLATFORM): $(APP)
$(MAKE) -C $(BUILDDIR) install
touch $@