From f6e91fbff37352f79e883b50b4e036035eaf4600 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 26 Aug 2011 16:12:34 +0000
Subject: [PATCH] Deduplicate a line in the dok-release target

---
 GNUmakefile.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 8a80311b..a7510942 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,6 +1,6 @@
 # Note:  Makefile is built automatically from Makefile.in
 #
-# $Id: GNUmakefile.in,v 1.197 2011/08/17 10:30:11 fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.198 2011/08/26 16:11:59 fabiankeil Exp $
 #
 # Written by and Copyright (C) 2001-2010 members of the
 # Privoxy team. http://www.privoxy.org/
@@ -551,14 +551,13 @@ dok-release:
 		$(PERL) -pi.bak -e 's/<!entity +% +p-stable.*>/<!entity % p-stable "INCLUDE">/;\
 			s/<!entity +% +p-not-stable.*>/<!entity % p-not-stable "IGNORE">/' \
 		doc/source/*sgml doc/source/*/*sgml; \
-		$(RM) -r doc/source/*bak doc/source/*/*bak; \
 	else \
 		$(ECHO) Setting docs to not stable $(VERSION); \
 		$(PERL) -pi.bak -e 's/<!entity +% +p-stable.*>/<!entity % p-stable "IGNORE">/; \
 			s/<!entity +% +p-not-stable.*>/<!entity % p-not-stable "INCLUDE">/' \
 		doc/source/*sgml doc/source/*/*sgml; \
-		$(RM) -r doc/source/*bak doc/source/*/*bak; \
 	fi;
+	$(RM) -r doc/source/*bak doc/source/*/*bak;
 
 # Create release announcement in text and html, with short and long versions.
 # This is a standalone target, and must be invoked directly.
-- 
2.49.0