projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6dcb545
)
Factor generate-config-file out of config-file to make testing more convenient
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 5 Feb 2013 14:04:11 +0000
(14:04 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 5 Feb 2013 14:04:11 +0000
(14:04 +0000)
GNUmakefile.in
patch
|
blob
|
history
diff --git
a/GNUmakefile.in
b/GNUmakefile.in
index
58f8879
..
4d778bb
100644
(file)
--- a/
GNUmakefile.in
+++ b/
GNUmakefile.in
@@
-1,6
+1,6
@@
# Note: Makefile is built automatically from Makefile.in
#
# Note: Makefile is built automatically from Makefile.in
#
-# $Id: GNUmakefile.in,v 1.2
18 2013/01/25 14:17:35
fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.2
20 2013/02/05 14:01:38
fabiankeil Exp $
#
# Written by and Copyright (C) 2001-2013 members of the
# Privoxy team. http://www.privoxy.org/
#
# Written by and Copyright (C) 2001-2013 members of the
# Privoxy team. http://www.privoxy.org/
@@
-573,12
+573,9
@@
dok-release:
# The main Privoxy config file, generated from sgml sources.
# NOTE: This will require some hand editing.
# The main Privoxy config file, generated from sgml sources.
# NOTE: This will require some hand editing.
-config-file: dok-release
- cd doc/source && $(DB)-notoc -iconfig-file -V nochunks config.sgml > __tmp.html &&\
- $(W3M_DUMP) -cols 67 __tmp.html > ../../config && $(RM) __tmp.*
- $(PERL) -i.bak utils/prepare-configfile.pl config
+config-file: dok-release generate-config-file
- $(RM)
*.bak
+ $(RM)
config.bak config.html
@$(ECHO) "****************************************************"
@$(ECHO) "The config file has been optimistically updated"
@$(ECHO) "Now -- you may need to hand edit the results!"
@$(ECHO) "****************************************************"
@$(ECHO) "The config file has been optimistically updated"
@$(ECHO) "Now -- you may need to hand edit the results!"
@@
-588,6
+585,11
@@
config-file: dok-release
@$(ECHO) "might have gotten hammered."
@$(ECHO) "****************************************************"
@$(ECHO) "might have gotten hammered."
@$(ECHO) "****************************************************"
+generate-config-file:
+ cd doc/source && $(DB)-notoc -iconfig-file -V nochunks config.sgml > ../../config.html
+ $(W3M_DUMP) -cols 67 config.html > config
+ $(PERL) -i.bak utils/prepare-configfile.pl config
+
# config file, alternate version using lynx (perl stuff unfinished). Lynx
# does not do so good a job.
config-file-alt:
# config file, alternate version using lynx (perl stuff unfinished). Lynx
# does not do so good a job.
config-file-alt: