18 # Create a symlink from any profile directories under ~/.mozilla/firefox
19 # to the output file in this directory. A "profile directory" is any
20 # directory that has a "prefs.js" file in it.
22 # This will only work if you run "make install" in the same directory
23 # as the makefile! This is fine; building the output file only works
24 # in that one place too.
27 for dir in ~/.mozilla/firefox/*.*; do \
28 if [ -f "$${dir}/prefs.js" ]; then \
29 if [ ! -e "$${dir}/$(OUTPUT)" ]; then \
30 ln -s "$(shell pwd)/$(OUTPUT)" "$${dir}/$(OUTPUT)"; \