fix 'nedit file' segfaults
[nedit-bw.git] / help_file_dependencies.patch
blob4ed18f1e5090653a9402558ea9009cc24887e4bd
1 ---
3 doc/Makefile | 2 +-
4 source/Makefile.common | 3 +++
5 2 files changed, 4 insertions(+), 1 deletion(-)
7 diff --quilt old/doc/Makefile new/doc/Makefile
8 --- old/doc/Makefile
9 +++ new/doc/Makefile
10 @@ -82,11 +82,11 @@ man: .version nedit.man nc.man
12 all: help doc man
14 clean:
15 @ echo "Removing generated NEdit documentation..."
16 - @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man
17 + @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man ../source/help_topic.h ../source/help_data.h
20 # FAQ targets. Requires an XSLT parser and processor, such as Java with the
21 # XP and XT packages (http://www.jclark.com/xml/)
22 # Override the XSLT variable at the command line as follows:
23 diff --quilt old/source/Makefile.common new/source/Makefile.common
24 --- old/source/Makefile.common
25 +++ new/source/Makefile.common
26 @@ -35,10 +35,13 @@ smartIndent.o: smartIndent.c
27 $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c smartIndent.c -o $@
29 highlightData.o: highlightData.c
30 $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c highlightData.c -o $@
32 +help_topic.h help_data.h: ../doc/help.etx
33 + (cd ..; $(MAKE) docs)
35 clean:
36 rm -f $(OBJS) nedit nc nc.o parse.c linkdate.o
38 parse.c: parse.y
39 @echo "NOTE: Don't worry about 'command not found' errors here"