From 483b8019a23f46b60c444d07c74968c7aa057f65 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 31 Mar 2016 23:19:49 +0200 Subject: build: add dep install --- GNUmakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') 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 -- cgit