--- bopm-3.1.2/Makefile.am~ 2004-01-18 01:18:13.000000000 +0200 +++ bopm-3.1.2/Makefile.am 2005-05-25 20:40:44.000000000 +0300 @@ -7,14 +7,14 @@ EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample install-data-local: - @if test -f $(sysconfdir)/bopm.conf ; then \ - echo "$@ will not overwrite existing $(sysconfdir)/bopm.conf"; \ + @if test -f $(DESTDIR)$(sysconfdir)/bopm.conf ; then \ + echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/bopm.conf"; \ else \ - $(mkinstalldirs) $(sysconfdir); \ - echo "$(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf"; \ - $(INSTALL_DATA) bopm.conf.sample $(sysconfdir)/bopm.conf; \ + $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \ + echo "$(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf"; \ + $(INSTALL_DATA) bopm.conf.sample $(DESTDIR)$(sysconfdir)/bopm.conf; \ fi - $(mkinstalldirs) $(localstatedir) + $(mkinstalldirs) $(DESTDIR)$(localstatedir) uninstall-local: @if test -f $(sysconfdir)/bopm.conf ; then \ --- ./Makefile.am~ 2005-05-25 20:57:11.000000000 +0300 +++ ./Makefile.am 2005-05-25 21:07:44.000000000 +0300 @@ -2,7 +2,7 @@ SUBDIRS = src -data_DATA = bopm.conf.sample +data_DATA = EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample