new fortune.
[feisty_meow.git] / scripts / makefile
1 include variables.def
2
3 PROJECT = Shells
4 TARGETS += regenerate 
5 OTHER_CLEANS += clean_generated 
6 # override setting from clam.
7 export FEISTY_MEOW_SCRIPTS = $(FEISTY_MEOW_DIR)/scripts
8
9 include rules.def
10
11 regenerate:
12         @echo regenerating aliases.
13         echo "FEISTY_MEOW_SCRIPTS = $(FEISTY_MEOW_SCRIPTS)"
14         echo "FEISTY_MEOW_GENERATED = $(FEISTY_MEOW_GENERATED)"
15         $(CATCHER)'if [ ! -d $(FEISTY_MEOW_GENERATED) ]; then mkdir $(FEISTY_MEOW_GENERATED); fi'
16         $(CATCHER)perl $(FEISTY_MEOW_SCRIPTS)/core/generate_aliases.pl
17         $(CATCHER)'(export LIGHTWEIGHT_INIT=true; source $(FEISTY_MEOW_SCRIPTS)/core/launch_feisty_meow.sh; perl $(FEISTY_MEOW_SCRIPTS)/text/new_sig.pl)'
18
19 clean_generated:
20         @echo removing generated aliases.
21         $(CATCHER)'if [ -d $(FEISTY_MEOW_GENERATED) ]; then \rm -rf $(FEISTY_MEOW_GENERATED); fi'
22