aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cpu/files/patch-doc__Makefile.in
blob: 1923a4567591fe694bd2efbf8b6132d68b069dc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- doc/Makefile.in.orig	2014-06-06 22:53:04.849107374 +0800
+++ doc/Makefile.in	2014-06-06 22:54:12.397081995 +0800
@@ -447,13 +447,9 @@ uninstall-info: uninstall-info-recursive
 
 
 install-data-local:
-	@if test -f $(sysconfdir)/cpu.conf ; then \
-		echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \
-	else \
-		$(mkinstalldirs) $(sysconfdir); \
-		echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \
-		$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \
-	fi
+	$(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+	echo "$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf.sample"; \
+	$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf.sample;
 
 uninstall-local:
 	@if test -f $(sysconfdir)/cpu.conf ; then \