aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-31 23:19:49 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-03-31 23:19:49 +0200
commit483b8019a23f46b60c444d07c74968c7aa057f65 (patch)
treeaf58364ae6bc612a5f885a8f5bd499efaa4583ed
parent0436ad2bebd436834b155f7344bffdd67bf658d8 (diff)
downloadfbida-483b8019a23f46b60c444d07c74968c7aa057f65.tar.gz
build: add dep install
-rw-r--r--GNUmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 2eba7c3..d52f2d5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -24,8 +24,12 @@ deps:
@echo "Build dependencies missing for fbi and/or fbpdf."
@echo " fbi needs: $(PKGS_FBI)"
@echo " fbpdf needs: $(PKGS_FBPDF)"
- @echo "Please install."
+ @echo "Please install. You can try 'make yum' (needs sudo)."
@false
+
+yum dnf:
+ sudo $@ install $(patsubst %,"pkgconfig(%)",$(PKGS_FBI) $(PKGS_FBPDF))
+
endif
endif