--- data/Makefile.orig	2005-03-13 15:30:54.000000000 +0100
+++ data/Makefile	2009-07-27 14:34:20.000000000 +0200
@@ -4,20 +4,22 @@
 all: clean spec config
 
 clean: 
-	rm -f $(BIN)-$(VER).spec gnarwl.cfg
+	rm -f $(BIN)-$(VER).spec gnarwl.cfg.sample
 
 config:
-	@sed "s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_VER_\\$(VER)\\g ; s\\_MAN_SEC_\\$(MAN_SEC)\\g" < config.tmpl > gnarwl.cfg
+	@gsed "s\\_HOMEDIR_\\$(HOMEDIR)\\g ; s\\_VER_\\$(VER)\\g ; s\\_MAN_SEC_\\$(MAN_SEC)\\g" < config.tmpl > gnarwl.cfg.sample
 
 spec:
-	@sed "s\\_BIN_\\$(BIN)\\g ; s\\_VER_\\$(VER)\\g; s\\_SBIN_\\$(SBIN)\\g; s\\_SEC_\\$(MAN_SEC)\\g" < spec.tmpl > $(BIN)-$(VER).spec 
+	@gsed "s\\_BIN_\\$(BIN)\\g ; s\\_VER_\\$(VER)\\g; s\\_SBIN_\\$(SBIN)\\g; s\\_SEC_\\$(MAN_SEC)\\g" < spec.tmpl > $(BIN)-$(VER).spec 
 
 install:
 	mkdir -m 755 -p  $(HOMEDIR)/block $(HOMEDIR)/bin $(CONFDIR)
 	echo \|$(BINDIR)/$(BIN) > $(HOMEDIR)/.forward
-	install -m 644 header.txt $(HOMEDIR)
-	install -m 644 footer.txt $(HOMEDIR)
-	install -m 600 gnarwl.cfg $(CONFDIR)
-	cat badheaders.txt | $(SBINDIR)/$(SBIN) -a $(HOMEDIR)/badheaders.db
-	cat blacklist.txt | $(SBINDIR)/$(SBIN) -a $(HOMEDIR)/blacklist.db
+	install -m 644 header.txt $(HOMEDIR)/header.txt.sample
+	install -m 644 footer.txt $(HOMEDIR)/footer.txt.sample
+	install -m 644 badheaders.txt $(HOMEDIR)/badheaders.txt.sample
+	install -m 644 blacklist.txt $(HOMEDIR)/blacklist.txt.sample
+	install -m 600 gnarwl.cfg.sample $(CONFDIR)
+	cat badheaders.txt | $(SBINDIR)/$(SBIN) -a $(HOMEDIR)/badheaders.db.sample
+	cat blacklist.txt | $(SBINDIR)/$(SBIN) -a $(HOMEDIR)/blacklist.db.sample
 
