]>
Commit | Line | Data |
---|---|---|
ea78b753 | 1 | --- cpu-1.4.3/doc/Makefile.am~ 2003-09-16 23:43:09.000000000 +0000 |
2 | +++ cpu-1.4.3/doc/Makefile.am 2005-06-01 23:26:45.890349976 +0000 | |
3 | @@ -5,16 +5,16 @@ | |
4 | test.ldif | |
5 | ||
6 | install-data-local: | |
7 | - @if test -f $(sysconfdir)/cpu.conf ; then \ | |
8 | - echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \ | |
9 | + @if test -f $(DESTDIR)$(sysconfdir)/cpu.conf ; then \ | |
10 | + echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/cpu.conf"; \ | |
11 | else \ | |
12 | - $(mkinstalldirs) $(sysconfdir); \ | |
13 | - echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \ | |
14 | - $(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \ | |
15 | + $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \ | |
16 | + echo "$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf"; \ | |
17 | + $(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf; \ | |
18 | fi | |
19 | ||
20 | uninstall-local: | |
21 | - @if test -f $(sysconfdir)/cpu.conf ; then \ | |
22 | - echo "rm -f $(sysconfdir)/cpu.conf"; \ | |
23 | - $(RM) -f $(sysconfdir)/cpu.conf; \ | |
24 | + @if test -f $(DESTDIR)$(sysconfdir)/cpu.conf ; then \ | |
25 | + echo "rm -f $(DESTDIR)$(sysconfdir)/cpu.conf"; \ | |
26 | + $(RM) -f $(DESTDIR)$(sysconfdir)/cpu.conf; \ | |
27 | fi |