diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-12-18 12:04:39 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-12-18 12:04:39 +0400 |
commit | 78e72b99085c8aabdb4382bca7b084f921cd6213 (patch) | |
tree | 833b3c940a4c4f4e3ea2913c4fa71e7f69e2b2c3 /Makefile | |
parent | e43b35560c3fc822f289b62222ff2870af635a29 (diff) | |
download | cibs-78e72b99085c8aabdb4382bca7b084f921cd6213.tar.gz |
Publish CIBSv0.1.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..78036fa --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# For bootstrapping: +cibs-root := . + + +# This is it forever ever: +cibs-inst-root := /usr/share/cibs + +include $(cibs-root)/rules/ips.mk + + +install-stamp: rules-mogrify-stamp + +# Replace $(cibs-root) -> /usr/share/cibs +rules-mogrify-stamp: + mkdir -p mogrified/rules + for r in $(cibs-root)/rules/*.mk; do \ + echo "Mogrifying $$r ..."; \ + sed -e 's,$$(cibs-root),$(cibs-inst-root),g' \ + $$r > mogrified/rules/`basename $$r`; \ + done + touch $@ + +clean:: + rm -rf mogrified + |