From 3e4031bc3344c6e33772ae80b14ec8c7b75d434b Mon Sep 17 00:00:00 2001 From: Markham Date: Wed, 18 Nov 2015 18:52:35 +0100 Subject: [PATCH] add more choices in Makefile for plugins --- Makefile | 31 ++++++++++++++++++++++++++++++- doc/config.example | 30 ++++++++++++++++++++++++------ 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 324b02d..cb6d200 100755 --- a/Makefile +++ b/Makefile @@ -203,7 +203,36 @@ multimedia: # plugins.mk plugins: - $(MAKE) $(D)/links $(D)/tuxcom $(D)/tuxcal $(D)/tuxmail $(D)/tuxwetter $(D)/blockads $(D)/getrc $(D)/msgbox $(D)/input $(D)/shellexec $(D)/logomask $(D)/logoview $(D)/cooliTSclimax $(D)/rcsim $(D)/sdparm $(D)/libfx2 + if [ $(BASICS1) = "yes" ]; then \ + $(MAKE) $(D)/getrc $(D)/msgbox $(D)/input $(D)/shellexec; \ + else \ + true; \ + fi + if [ $(BASICS2) = "yes" ]; then \ + $(MAKE) $(D)/tuxcom $(D)/tuxcal $(D)/tuxmail $(D)/blockads $(D)/logomask $(D)/logoview; \ + else \ + true; \ + fi + if [ $(BASICS3) = "yes" ]; then \ + $(MAKE) $(D)/rcsim $(D)/sdparm $(D)/libfx2; \ + else \ + true; \ + fi + if [ $(TUXWETTER) = "yes" ]; then \ + $(MAKE) $(D)/tuxwetter; \ + else \ + true; \ + fi + if [ $(LINKS) = "yes" ]; then \ + $(MAKE) $(D)/links; \ + else \ + true; \ + fi + if [ $(COOLITSCLIMAX) = "yes" ]; then \ + $(MAKE) $(D)/cooliTSclimax; \ + else \ + true; \ + fi if [ $(CHARTS) = "yes" ]; then \ $(MAKE) $(D)/liga_nat $(D)/boerse $(D)/rssnews $(D)/tanken $(D)/wetter $(D)/formel1; \ else \ diff --git a/doc/config.example b/doc/config.example index a65844a..cc8f994 100755 --- a/doc/config.example +++ b/doc/config.example @@ -115,14 +115,32 @@ MULTIMEDIA=no ### PART 4 # PLUGINS # OPTIONAL ########################################################### ########################################################################################### -# if you want to build charts (optional), define CHARTS=yes: -# CHARTS=yes -# CHARTS=no +# if you want to build BASICS1 (optional), define BASICS1=yes/no +# getrc, msgbox, input, shellexec +BASICS1=no + +# if you want to build BASICS2 (optional), define BASICS2=yes/no +# tuxcom, tuxcal, tuxmail, blockads, logomask, logoview +BASICS2=no + +# if you want to build BASICS3 (optional), define BASICS3=yes/no +# rcsim, sdparm, libfx2 +BASICS3=no + +# if you want to build TUXWETTER (optional), define TUXWETTER=yes/no +TUXWETTER=no + +# if you want to build LINKS (optional), define LINKS=yes/no +LINKS=no + +# if you want to build cooliTSclimax (optional), define COOLITSCLIMAX=yes/no +COOLITSCLIMAX=no + +# if you want to build charts (optional), define CHARTS=yes/no +# liga_nat, boerse, rssnews, tanken, wetter, formel1 CHARTS=no -# if you want to build games (optional), define GAMES=yes: -# GAMES=yes -# GAMES=no +# if you want to build games (optional), define GAMES=yes/no GAMES=no ########################################################################################### -- 2.39.5