grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / prefs / env-archive / mmakefile.src
blobe9ba8e2f63fb178d30cb93deba6a999786666b41
1 # Copyright © 2004, 2013, The AROS Development Team. All rights reserved.
2 # $Id$
4 include $(SRCDIR)/config/aros.cfg
6 SUBDIRS := Zune SYS SYS/Packages DiskImage
7 FILES   := $(foreach dir, $(SUBDIRS), $(filter-out $(dir)/CVS, $(call WILDCARD, $(dir)/*)))
9 #MM- workbench-prefs : workbench-prefs-envarc
10 #MM- workbench-prefs-envarc : workbench-prefs-envarc-copyfiles workbench-prefs-envarc-theme
11 #MM  workbench-prefs-envarc-copyfiles
13 workbench-prefs-envarc-copyfiles : $(FILES:%=$(AROS_ENVARC)/%)
15 $(AROS_ENVARC)/% : %
16         @if [ -f $< ]; then      \
17             $(MKDIR) $(dir $@) ; \
18             $(CP) $< $@ ;        \
19         fi
21 #MM
22 workbench-prefs-envarc-theme:
23         @$(ECHO) "THEMES:$(AROS_GUI_THEME)" > $(AROS_ENVARC)/SYS/theme.var
24         @$(MKDIR) $(AROS_PREFS)/Presets
25         @$(ECHO) "THEMES:$(AROS_GUI_THEME)" > $(AROS_PREFS)/Presets/theme.default