CVS update
[nedit-bw.git] / help_file_dependencies.patch
blobed4367a9914ac30a1142e558c6b08f638de39001
1 Subject: make dependencies for built-in help data
3 Unfortunately this is not parallel build safe.
5 ---
7 doc/Makefile | 2 +-
8 source/Makefile.common | 3 +++
9 2 files changed, 4 insertions(+), 1 deletion(-)
11 diff --quilt old/doc/Makefile new/doc/Makefile
12 --- old/doc/Makefile
13 +++ new/doc/Makefile
14 @@ -84,7 +84,7 @@ all: help doc man
16 clean:
17 @ echo "Removing generated NEdit documentation..."
18 - @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man
19 + @ rm -rf help nedit.html html nedit.doc .version nedit.man nc.man ../source/help_topic.h ../source/help_data.h
22 # FAQ targets. Requires an XSLT parser and processor, such as Java with the
23 diff --quilt old/source/Makefile.common new/source/Makefile.common
24 --- old/source/Makefile.common
25 +++ new/source/Makefile.common
26 @@ -37,6 +37,9 @@ smartIndent.o: smartIndent.c
27 highlightData.o: highlightData.c
28 $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c highlightData.c -o $@
30 +help_topic.h help_data.h: ../doc/help.etx
31 + (cd ..; $(MAKE) docs)
33 clean:
34 rm -f $(OBJS) nedit nc nc.o parse.c linkdate.o