Last change
on this file since 1561 was 1561, checked in by Bruno Cornec, 17 years ago |
use of DESTDIR for conf files as well
|
File size:
387 bytes
|
Line | |
---|
1 | etcdir = $(sysconfdir)/mondo
|
---|
2 | etc_DATA = mondo.conf.dist mondo.conf.sample
|
---|
3 |
|
---|
4 | install-data-local:
|
---|
5 | chmod 444 $(DESTDIR)$(etcdir)/mondo.conf.dist $(DESTDIR)$(etcdir)/mondo.conf.sample
|
---|
6 | if [ ! -e $(DESTDIR)$(etcdir)/mondo.conf ]; then cp -a $(DESTDIR)$(etcdir)/mondo.conf.sample $(DESTDIR)$(etcdir)/mondo.conf ; fi
|
---|
7 | (cd $(DESTDIR)$(etcdir) ; md5sum mondo.conf.dist > mondo.conf.dist.md5)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.