| Line | |
|---|
| 1 | etcdir = $(sysconfdir)/mondo
|
|---|
| 2 | etc_DATA = mondo.conf.dist
|
|---|
| 3 |
|
|---|
| 4 | install-data-local-config:
|
|---|
| 5 | @if [ ! -e $(etcdir)/mondo.conf ]; then cat >> $(etcdir)/mondo.conf << EOF
|
|---|
| 6 | #
|
|---|
| 7 | # Configuration file for mondo
|
|---|
| 8 | #
|
|---|
| 9 | # By default values are taken from $(etcdir)/mondo.conf.dist
|
|---|
| 10 | # You can override them here
|
|---|
| 11 | #
|
|---|
| 12 | # e.g.
|
|---|
| 13 | #
|
|---|
| 14 | #
|
|---|
| 15 | #mondo_tmp_dir="/var/tmp"
|
|---|
| 16 | #
|
|---|
| 17 | EOF
|
|---|
| 18 | @fi
|
|---|
| 19 | @chmod 444 $(etcdir)/mondo.conf.dist
|
|---|
| 20 | @(cd $(etcdir) ; md5sum mondo.conf.dist > mondo.conf.dist.md5)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.