You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
diff -Naur cpu-1.4.1.orig/doc/Makefile.in cpu-1.4.1/doc/Makefile.in |
|
--- doc/Makefile.in 2003-09-22 06:07:10.000000000 +0200 |
|
+++ doc/Makefile.in 2003-09-22 10:19:24.000000000 +0200 |
|
@@ -446,18 +446,18 @@ |
|
|
|
|
|
install-data-local: |
|
- @if test -f $(sysconfdir)/cpu.conf ; then \ |
|
- echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \ |
|
+ @if test -f $(DESTDIR)$(sysconfdir)/cpu.conf ; then \ |
|
+ echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/cpu.conf"; \ |
|
else \ |
|
- $(mkinstalldirs) $(sysconfdir); \ |
|
- echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \ |
|
- $(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \ |
|
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \ |
|
+ echo "$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf"; \ |
|
+ $(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf; \ |
|
fi |
|
|
|
uninstall-local: |
|
- @if test -f $(sysconfdir)/cpu.conf ; then \ |
|
- echo "rm -f $(sysconfdir)/cpu.conf"; \ |
|
- $(RM) -f $(sysconfdir)/cpu.conf; \ |
|
+ @if test -f $(DESTDIR)$(sysconfdir)/cpu.conf ; then \ |
|
+ echo "rm -f $(DESTDIR)$(sysconfdir)/cpu.conf"; \ |
|
+ $(RM) -f $(DESTDIR)$(sysconfdir)/cpu.conf; \ |
|
fi |
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
|
# Otherwise a system limit (for SysV at least) may be exceeded. |
|
|
|
|