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

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

use of DESTDIR for conf files as well

File size: 387 bytes
Line 
1etcdir          = $(sysconfdir)/mondo
2etc_DATA        = mondo.conf.dist mondo.conf.sample
3
4install-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.