source: MondoRescue/branches/stable/mondo/distributions/conf/Makefile.am @ 1560

Last change on this file since 1560 was 1560, checked in by Bruno Cornec, 13 years ago

Try to improve conf files generation and installation

File size: 327 bytes
Line 
1etcdir          = $(sysconfdir)/mondo
2etc_DATA        = mondo.conf.dist mondo.conf.sample
3
4install-data-local:
5    chmod 444 $(etcdir)/mondo.conf.dist $(etcdir)/mondo.conf.sample
6    if [ ! -e $(etcdir)/mondo.conf ]; then cp -a $(etcdir)/mondo.conf.sample $(etcdir)/mondo.conf ; fi
7    (cd $(etcdir) ; md5sum mondo.conf.dist > mondo.conf.dist.md5)
Note: See TracBrowser for help on using the repository browser.