summaryrefslogtreecommitdiff
blob: 0f9c3d1243b142a8deba62b27a410f3a94ee6b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
diff -urN siege-2.60.orig/doc/Makefile.am siege-2.60/doc/Makefile.am
--- siege-2.60.orig/doc/Makefile.am	2002-12-09 11:16:41.000000000 -0500
+++ siege-2.60/doc/Makefile.am	2004-11-17 23:26:02.752206536 -0500
@@ -42,38 +42,13 @@
 
 DISTCLEANFILES    =      siegerc $(man_MANS)
 
-SIEGERC           =      $(HOME)/.siegerc
+SIEGERC           =      ../siegerc-example
 
-URLSTXT           =      $(sysconfdir)/urls.txt
-
-install-exec-hook: 
-	@if test -f $(SIEGERC); then \
-	  if cmp -s $(srcdir)/siegerc $(SIEGERC); then echo ""; \
-	    else \
-	    echo ' $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new'; \
-	    $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new; \
-	    echo "#####################################################"; \
-	    echo "WARNING: File $(SIEGERC) already exists."; \
-	    echo "         A new resource file has been installed as"; \
-	    echo "         $(SIEGERC).new. You may want to"; \
-	    echo "         consider using the newer version in order to"; \
-	    echo "         take advantage of any new features."; \
-	    echo "#####################################################"; \
-	  fi; \
-	else \
-	  $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC); \
-	fi 
-	@if test -f $(URLSTXT); then \
-	  if cmp -s $(srcdir)/siegerc $(URLSTXT); then echo ""; \
-	    else \
-	    echo "WARNING: File $(URLSTXT) already exists."; \
-	    echo "         It was NOT replaced with this installation."; \
-	  fi; \
-	else \
-	  $(mkinstalldirs) $(sysconfdir); \
-	  $(INSTALL_DATA) $(srcdir)/urls.txt $(URLSTXT); \
-	fi 
+URLSTXT           =      ../urls.txt
 
+install-data-hook: 
+	  $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC)
+	  $(INSTALL_DATA) $(srcdir)/urls.txt $(URLSTXT)
 
 uninstall:
 	rm -f $(SIEGERC)