fix switch statement
[nedit-bw.git] / help_file_dependencies.patch
blob4e78c0c9f737f891dd220e5517f78c38247ac2b3
1 Subject: make dependencies for built-in help data
3 Unfortunately this is not parallel build safe.
5 ---
7 Makefile | 6 ++++++
8 doc/Makefile | 3 ++-
9 2 files changed, 8 insertions(+), 1 deletion(-)
11 diff --quilt old/doc/Makefile new/doc/Makefile
12 --- old/doc/Makefile
13 +++ new/doc/Makefile
14 @@ -6,6 +6,7 @@
15 # source, help.etx, a Structure Enhanced TEXT document.
17 .SUFFIXES: .man .pod
18 +.NOTPARALLEL:
20 instructions:
21 @ echo ""
22 @@ -84,7 +85,7 @@ all: help doc man
24 clean:
25 @ echo "Removing generated NEdit documentation..."
26 - @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man
27 + @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man ../source/help_topic.h ../source/help_data.h
30 # FAQ targets. Requires an XSLT parser and processor, such as Java with the
31 diff --quilt old/Makefile new/Makefile
32 --- old/Makefile
33 +++ new/Makefile
34 @@ -28,6 +28,7 @@ all:
35 @- (cd source; if [ -f ../makefiles/Makefile.$@ -a ! -f ./Makefile.$@ ];\
36 then ln -s ../makefiles/Makefile.$@ .; fi)
38 + (cd doc; $(MAKE) help)
39 (cd util; \
40 $(MAKE) -f Makefile.$@ verify_config && \
41 $(MAKE) -f Makefile.$@ libNUtil.a)
42 @@ -35,11 +36,16 @@ all:
43 (cd Microline/XmL; $(MAKE) -f Makefile.$@ libXmL.a)
44 (cd source; $(MAKE) -f Makefile.$@ nedit nc)
46 +.PHONY: docs help clean realclean
48 # This should not be in the default build, as users may not have Perl
49 # installed. This is only interesting to developers.
50 docs:
51 (cd doc; $(MAKE) all)
53 +help:
54 + (cd doc; $(MAKE) help)
56 # We need a "dev-all" target that builds the docs plus binaries, but
57 # that doesn't work since we require the user to specify the target. More
58 # thought is needed