diff options
author | Samuel Lidén Borell <samuel@slbdata.se> | 2009-06-12 00:55:43 +0200 |
---|---|---|
committer | Samuel Lidén Borell <samuel@slbdata.se> | 2010-01-02 22:30:06 +0100 |
commit | d52391fee07e13b2a9e015d4a5a57135d0356d10 (patch) | |
tree | 6a7486f250cb3d77c861c87dc8d91a5846eb5f3a /configure | |
parent | 24d49a7cdd93a6cb8633cff062201e6b1ea6f164 (diff) | |
download | fribid-d52391fee07e13b2a9e015d4a5a57135d0356d10.tar.gz fribid-d52391fee07e13b2a9e015d4a5a57135d0356d10.tar.bz2 fribid-d52391fee07e13b2a9e015d4a5a57135d0356d10.zip |
Added install/uninstall targets to the makefiles
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -21,6 +21,18 @@ while [ "$#" != "0" ]; do --exec-prefix=*) execprefix=${flag#--exec-prefix=} ;; + --internal--get-define=*) + name=${flag#--internal--get-define=} + printf '#include "%s"\n%s\n' "$basedir/common/defines.h" "$name" | cpp - | sed 's/#[^\n]*//g' | tr -d '\n' | sed 's/"\s"//g' | tr -d '\"' + exit 0 + ;; + --internal--remove-link) + link="$1" + target="$2" + shift 2 + [ ! -h "$link" ] || [ "`readlink "$link"`" != "$target" ] || rm -f "$link" + exit 0 + ;; *) echo "Invalid option: $flag" error=1 |