From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 28 Jul 2016 08:16:04 +0000 (+0000)
Subject: GNUMakefile.in: Let the dok-user target remove temporary files
X-Git-Tag: v_3_0_26~33
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@home-page@?a=commitdiff_plain;h=57a3f4c9929bc3b1ae6395fb6c7a6062f9040ed4;p=privoxy.git

GNUMakefile.in: Let the dok-user target remove temporary files
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index d7a985d7..99be2368 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,6 +1,6 @@
 # Note:  GNUmakefile is built automatically from GNUmakefile.in
 #
-# $Id: GNUmakefile.in,v 1.250 2016/05/08 12:46:05 fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.251 2016/05/08 12:46:15 fabiankeil Exp $
 #
 # Written by and Copyright (C) 2001-2016 members of the
 # Privoxy team. https://www.privoxy.org/
@@ -452,7 +452,8 @@ dok-user:
 	# FIXME: temp fix so same stylesheet gets in more than one place so it works
 	# for all doc set-ups, including the 'user manual' config option in local
 	# system where it MUST be in same directory as html.
-	$(PERL) -pi.bak -e 's/<\/head/\n<LINK REL=\"STYLESHEET\" TYPE=\"text\/css\" HREF=\"p_doc.css\">\n<\/head/i' doc/webserver/user-manual/*html
+	$(PERL) -pi.bak -e 's/<\/head/\n<LINK REL=\"STYLESHEET\" TYPE=\"text\/css\" HREF=\"p_doc.css\">\n<\/head/i' doc/webserver/user-manual/*html && \
+	rm doc/webserver/user-manual/*html.bak
 
 # faq
 dok-faq: