diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 23:19:49 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 23:19:49 +0200 |
commit | 483b8019a23f46b60c444d07c74968c7aa057f65 (patch) | |
tree | af58364ae6bc612a5f885a8f5bd499efaa4583ed /GNUmakefile | |
parent | 0436ad2bebd436834b155f7344bffdd67bf658d8 (diff) | |
download | fbida-483b8019a23f46b60c444d07c74968c7aa057f65.tar.gz |
build: add dep install
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
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 |