aboutsummaryrefslogtreecommitdiff
path: root/install/conf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install/conf.sh')
-rw-r--r--install/conf.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/install/conf.sh b/install/conf.sh
new file mode 100644
index 00000000..f50cde73
--- /dev/null
+++ b/install/conf.sh
@@ -0,0 +1,10 @@
+# Read extra targets from an optional ~/.dotfiles.conf file
+if [ -e "$HOME"/.dotfiles.conf ] ; then
+ while read -r line ; do
+ case $line in
+ '#'*|'') ;;
+ *) set -- "$@" "$line" ;;
+ esac
+ done < "$HOME"/.dotfiles.conf
+fi
+make install "$@"