source: trunk/third/ispell/Makefile @ 10439

Revision 10439, 17.7 KB checked in by ghudson, 27 years ago (diff)
Treat ispell.info as a source file, like everyone else. (I would have left things the way they were, but the emacs command for generating the info file doesn't work with 19.34b.)
Line 
1#
2# $Id: Makefile,v 1.2 1997-09-29 08:52:35 ghudson Exp $
3#
4# Copyright 1992, 1993, Geoff Kuenning, Granada Hills, CA
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10#
11# 1. Redistributions of source code must retain the above copyright
12#    notice, this list of conditions and the following disclaimer.
13# 2. Redistributions in binary form must reproduce the above copyright
14#    notice, this list of conditions and the following disclaimer in the
15#    documentation and/or other materials provided with the distribution.
16# 3. All modifications to the source code must be clearly marked as
17#    such.  Binary redistributions based on modified source code
18#    must be clearly marked as modified versions in the documentation
19#    and/or other materials provided with the distribution.
20# 4. All advertising materials mentioning features or use of this software
21#    must display the following acknowledgment:
22#      This product includes software developed by Geoff Kuenning and
23#      other unpaid contributors.
24# 5. The name of Geoff Kuenning may not be used to endorse or promote
25#    products derived from this software without specific prior
26#    written permission.
27#
28# THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
29# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31# ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
32# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38# SUCH DAMAGE.
39#
40# You will have to create a local.h file before building; look over
41# config.X to learn what things you may need to define, or use one of
42# the sample local.h files shipped.
43#
44# the argument syntax for buildhash to make alternate dictionary files
45# is simply:
46#
47#   buildhash <dictfile> <affix-file> <outfile>
48
49# $Log: not supported by cvs2svn $
50# Revision 1.1.1.1  1997/09/03 21:08:11  ghudson
51# Import of ispell 3.1.20
52#
53# Revision 1.102  1995/10/11  04:30:25  geoff
54# Allow DEFHASH and MASTERHASH to be the same.
55#
56# Revision 1.101  1995/08/05  23:19:33  geoff
57# Add the showversion target to ease the job of debugging people's make
58# output.  Make sure SHELLDEBUG is set for the entire process of making
59# config.sh.
60#
61# Revision 1.100  1995/03/06  02:42:39  geoff
62# Run iwhich explicitly from the shell, so that we don't have to worry
63# about PATH problems and whether it's executable or not.  Also fix a
64# place where -nw was not removed from the batch emacs switch list.
65#
66# Revision 1.99  1995/01/08  23:23:23  geoff
67# Get rid of an obsolete etags flag.  Add some new variables to config.sh.
68#
69# Revision 1.98  1994/12/27  23:08:43  geoff
70# Use the new "iwhich" script to decide whether to install emacs-related
71# stuff.  Make correct.o depend on version.h so that "ispell -a" always
72# reports the correct version.
73#
74# Revision 1.97  1994/11/21  07:02:51  geoff
75# Specify default values for the BUILD macros, so that some systems
76# don't accidentally override them and make ispell think that the
77# dictionaries are missing.
78#
79# Revision 1.96  1994/10/25  05:45:54  geoff
80# Make the installation command configurable.
81#
82# Revision 1.95  1994/10/18  04:03:17  geoff
83# Get rid of DICTVARIANTS, which is obsolete.  Compile term.o first, so
84# that errors in it (which are common) will show up first.  Improve the
85# rules for generation of msgs.h.
86#
87# Revision 1.94  1994/09/16  05:06:55  geoff
88# Split installation up into basic and dictionary-building tools, so
89# that we can have a partial-install target.
90#
91# Revision 1.93  1994/09/16  04:51:28  geoff
92# Handle installations that have ELISPDIR but not TEXINFODIR
93#
94# Revision 1.92  1994/09/16  02:45:52  geoff
95# Don't strip non-binaries.  Fix an accidentally-doubled backslash.
96#
97# Revision 1.91  1994/08/31  05:58:27  geoff
98# Strip binaries before installing them.  Create directories before
99# installing into them.  Make sure manual pages are installed with the
100# correct protection modes.
101#
102# Revision 1.90  1994/05/25  04:29:16  geoff
103# Don't remove english.4 after the English makefile has carefully
104# installed it.
105#
106# Revision 1.89  1994/05/24  05:31:22  geoff
107# Return to the old sed-based method of parsing LANGUAGES, so that things
108# will work on broken systems like BSDI.
109#
110# Revision 1.88  1994/05/24  04:54:30  geoff
111# Fix the emacs installation to use emacs batch mode properly, so that a
112# terminal isn't required.
113#
114# Revision 1.87  1994/03/21  01:55:17  geoff
115# If a hard link can't be made to msgs.h, copy it instead
116#
117# Revision 1.86  1994/02/22  06:09:03  geoff
118# Add SHELLDEBUG.  Change the language-subdirs target to use the shell
119# IFS variable to parse things, simplifying things and improving
120# efficiency (thanks to Hagen Ross for the idea and implemenation).
121#
122# Revision 1.85  1994/02/13  23:25:31  geoff
123# Fix multiple-language processing to not pass subsequent specifications to
124# the first Makefile.  Also fix the language shell loop to be more flexible.
125#
126# Revision 1.84  1994/02/07  08:10:40  geoff
127# When processing the LANGUAGES configuration variable (from local.h),
128# use sed instead of expr to process it.  This gets around versions of
129# expr that have 127-character limitations (though it probably still
130# limits us to 512 characters with some versions of sed, so further work
131# may be needed here).
132#
133# Revision 1.83  1994/02/07  06:31:20  geoff
134# Clarify how to change variables in local.h
135#
136# Revision 1.82  1994/02/07  06:29:31  geoff
137# Add a dummy else clause to shell if-test for Ultrix
138#
139# Revision 1.81  1994/02/07  05:35:34  geoff
140# Make realclean run dictclean
141#
142# Revision 1.80  1994/01/26  07:44:43  geoff
143# Make yacc configurable through local.h.
144#
145# Revision 1.79  1994/01/25  07:11:11  geoff
146# Get rid of all old RCS log lines in preparation for the 3.1 release.
147#
148#
149
150#
151# !!!DO NOT EDIT HERE!!!
152#
153# Unlike previous versions of ispell, there should be no need to edit
154# your Makefile.  Instead, #define the corresponding variables in your
155# local.h file; the Makefile will automatically pick them up.  The
156# only reason you should need to edit the Makefile might to be to add
157# non-English dictionary support.
158#
159# For example, if you want to set CFLAGS to "-g -Wall", don't put it
160# here.  Put:
161#
162#       #define CFLAGS  "-g -Wall"
163#
164# in local.h.  Otherwise, it won't have any effect.
165#
166EXTRADICT = Use_config.sh
167
168SHELL = /bin/sh
169MAKE = make
170
171#
172#       Set this to "-vx" in the make command line if you need to
173#       debug the complex shell commands.
174#
175SHELLDEBUG = +vx
176
177all:    unpacked
178all:    config.sh
179all:    programs showversion ispell.1 ispell.info
180all:    all-languages
181
182programs: buildhash findaffix tryaffix ispell
183programs: icombine ijoin munchlist
184programs: subset sq unsq zapdups
185
186showversion:
187        ./ispell -v | head -1
188
189.c.o:
190        @. ./config.sh; \
191          set -x; \
192          $$CC $$CFLAGS -c $<
193
194.y.o:
195        @. ./config.sh; \
196          set -x; \
197          $$YACC $<; \
198          $$CC $$CFLAGS -c y.tab.c; \
199          mv y.tab.o $@; \
200          rm -f y.tab.c
201
202all-languages:  munchable
203        $(MAKE) LANGUAGE_TARGET=all SHELLDEBUG=$(SHELLDEBUG) language-subdirs
204
205install: config.sh all install-basic install-dictbuild install-languages
206
207partial-install: config.sh all install-basic install-languages
208
209install-basic:
210        @. ./config.sh; \
211          set -x; \
212          [ -d $$BINDIR ]  ||  (mkdir $$BINDIR; chmod 755 $$BINDIR); \
213          cd $$BINDIR; \
214          rm -f ispell
215        @. ./config.sh; \
216          set -x; \
217          $$INSTALL ispell $$BINDIR
218        @. ./config.sh; \
219          set -x; \
220          cd $$BINDIR; \
221          strip ispell; \
222          chmod 755 ispell
223        @. ./config.sh; \
224          set -x; \
225          [ -d $$MAN1DIR ]  ||  (mkdir $$MAN1DIR; chmod 755 $$MAN1DIR); \
226          [ -d $$MAN4DIR ]  ||  (mkdir $$MAN4DIR; chmod 755 $$MAN4DIR); \
227          cd $$MAN1DIR; \
228            rm -f ispell$$MAN1EXT; \
229          cd $$MAN4DIR; \
230            rm -f ispell$$MAN4EXT
231        @. ./config.sh; \
232          set -x; \
233          $$INSTALL ispell.1 $$MAN1DIR/ispell$$MAN1EXT; \
234          $$INSTALL ispell.4 $$MAN4DIR/ispell$$MAN4EXT
235        @. ./config.sh; \
236          set -x; \
237          cd $$MAN1DIR; \
238          chmod 644 ispell$$MAN1EXT; \
239          cd $$MAN4DIR; \
240          chmod 644 ispell$$MAN4EXT
241        @set +e; \
242          . ./config.sh; \
243          set $(SHELLDEBUG); \
244          if [ -d $$TEXINFODIR -a -r ispell.info ]; then \
245            set -ex; \
246            rm -f $$TEXINFODIR/ispell; \
247            $$INSTALL ispell.info $$TEXINFODIR/ispell; \
248            chmod 644 $$TEXINFODIR/ispell; \
249          else \
250            : ; \
251          fi
252        @set +e; \
253          . ./config.sh; \
254          set $(SHELLDEBUG); \
255          if [ -d $$ELISPDIR ]; then \
256            set -ex; \
257            rm -f $$ELISPDIR/ispell.el; \
258            $$INSTALL ispell.el $$ELISPDIR; \
259            if sh iwhich $$EMACS >/dev/null; then \
260                echo '(byte-compile-file "'"$$ELISPDIR/ispell.el"'")' \
261                  > /tmp/emi$$$$; \
262                $$EMACS -batch -l /tmp/emi$$$$; \
263                rm -f /tmp/emi$$$$; \
264                chmod 644 $$ELISPDIR/ispell.el $$ELISPDIR/ispell.elc; \
265            else \
266                chmod 644 $$ELISPDIR/ispell.el; \
267            fi; \
268          else \
269            : ; \
270          fi
271
272install-dictbuild:
273        @. ./config.sh; \
274          set -x; \
275          [ -d $$BINDIR ]  ||  (mkdir $$BINDIR; chmod 755 $$BINDIR); \
276          cd $$BINDIR; \
277          rm -f buildhash icombine ijoin \
278            munchlist findaffix tryaffix sq unsq; \
279          rm -f $$LIBDIR/icombine
280        @. ./config.sh; \
281          set -x; \
282          $$INSTALL buildhash icombine ijoin munchlist findaffix tryaffix \
283              sq unsq \
284            $$BINDIR
285        @. ./config.sh; \
286          set -x; \
287          cd $$BINDIR; \
288          strip buildhash icombine ijoin sq unsq; \
289          chmod 755 buildhash icombine ijoin \
290            munchlist findaffix tryaffix sq unsq
291        @. ./config.sh; \
292          set -x; \
293          [ -d $$MAN1DIR ]  ||  (mkdir $$MAN1DIR; chmod 755 $$MAN1DIR); \
294          [ -d $$MAN4DIR ]  ||  (mkdir $$MAN4DIR; chmod 755 $$MAN4DIR); \
295          cd $$MAN1DIR; \
296            rm -f sq$$MAN1EXT
297        @. ./config.sh; \
298          set -x; \
299          $$INSTALL sq.1 $$MAN1DIR/sq$$MAN1EXT; \
300          for m in buildhash munchlist findaffix tryaffix; do \
301            echo ".so `basename $$MAN1DIR`/ispell$$MAN1EXT" \
302              > $$MAN1DIR/$$m$$MAN1EXT; \
303          done; \
304          echo ".so `basename $$MAN1DIR`/sq$$MAN1EXT" \
305            > $$MAN1DIR/unsq$$MAN1EXT
306        @. ./config.sh; \
307          set -x; \
308          cd $$MAN1DIR; \
309          chmod 644 sq$$MAN1EXT buildhash$$MAN1EXT \
310            munchlist$$MAN1EXT findaffix$$MAN1EXT tryaffix$$MAN1EXT
311
312install-languages:
313        $(MAKE) LANGUAGE_TARGET=install SHELLDEBUG=$(SHELLDEBUG) \
314          language-subdirs
315        . ./config.sh; \
316          [ -d $$LIBDIR ]  ||  (mkdir $$LIBDIR; chmod 755 $$LIBDIR); \
317          set -x; \
318          cd $$LIBDIR; \
319          if [ $$MASTERHASH != $DEFHASH ]; then \
320            rm -f $$DEFHASH; \
321            ln $$MASTERHASH $$DEFHASH; \
322          fi
323
324munchable:      findaffix tryaffix munchlist buildhash ispell icombine
325munchable:      ijoin
326munchable:      sq unsq
327
328#
329#       The following auxiliary dependency is used to make targets in
330#       the language directories.  Do you find it intimidating?  No
331#       surprise;  remember that this is by the guy who wrote munchlist.
332#
333LANGUAGE_TARGET =   Do_not_try_to_make_this_target_yourself
334BUILD   =       build
335CBUILD  =       build
336DBUILD  =       build
337
338language-subdirs:       config.sh
339        @. ./config.sh; \
340            set $(SHELLDEBUG); \
341            set +e; \
342            while [ "X$$LANGUAGES" != X ]; do \
343                ( \
344                descriptor=`echo "$$LANGUAGES" \
345                  | sed 's/[^{]*{\([^}]*\)}.*/\1/'`; \
346                dir=`echo "$$descriptor" | sed 's/\([^,]*\).*/\1/'`; \
347                descriptor=`echo "$$descriptor" \
348                  | sed 's/[^,]*,*\(.*\).*/\1/'`; \
349                makeargs=''; \
350                while [ "X$$descriptor" != X ]; \
351                do \
352                    nextvar=`echo "$$descriptor" | sed 's/\([^,]*\).*/\1/'`; \
353                    makeargs="$$makeargs '$$nextvar'"; \
354                    descriptor=`echo "$$descriptor" \
355                      | sed 's/[^,]*,*\(.*\).*/\1/'`; \
356                done; \
357                set -x; \
358                cd languages/$$dir; \
359                eval $(MAKE) BUILD=$(BUILD) DBUILD=$(DBUILD) CBUILD=$(CBUILD) \
360                  SHELLDEBUG=$(SHELLDEBUG) "$$makeargs" $(LANGUAGE_TARGET) \
361                    ||  exit 1; \
362                )  ||  exit 1; \
363                LANGUAGES=`echo "$$LANGUAGES" \
364                  | sed 's/[^{]*{[^}]*}[^{]*\(.*\)$$/\1/'`; \
365                case "$$LANGUAGES" in \
366                    ''|*{*}*) \
367                        ;; \
368                    *) \
369                        echo "Bad language specification: '$$LANGUAGES'" \
370                          1>&2; \
371                        exit 2 \
372                        ;; \
373                esac; \
374            done; \
375            exit 0
376           
377buildhash: config.sh buildhash.o hash.o makedent.o parse.o
378        @. ./config.sh; \
379          set -x; \
380          $$CC $$CFLAGS -o buildhash buildhash.o hash.o makedent.o parse.o \
381            $$LIBES
382
383icombine: config.sh icombine.o makedent.o parse.o
384        . ./config.sh; \
385          set -x; \
386          $$CC $$CFLAGS -o icombine icombine.o makedent.o parse.o \
387            $$LIBES
388
389ijoin: config.sh ijoin.o fields.o
390        @. ./config.sh; \
391          set -x; \
392          $$CC $$CFLAGS -o ijoin ijoin.o fields.o $$LIBES
393
394EDITFILE        =       notthere
395OUTFILE         =       /dev/null
396
397config.sh:  config.X local.h
398        set $(SHELLDEBUG); \
399        for var in BINDIR CC CFLAGS COUNTSUFFIX DEFDICT DEFHASH DEFLANG \
400          ELISPDIR EMACS HASHSUFFIX INSTALL \
401          LANGUAGES LIBDIR LIBES LINT LINTFLAGS \
402          MAKE_SORTTMP MAN1DIR MAN1EXT MAN4DIR MAN4EXT MASTERHASH \
403          MSGLANG REGLIB STATSUFFIX \
404          TERMLIB TEXINFODIR YACC \
405          ; do \
406            cat config.X local.h \
407              | sed -n -e "s/^#define[  ]*$$var[        ]*"'"'"/$$var=/p" \
408              | sed -e 's/".*$$/'"'/" -e "s/=/='/" \
409              | tail -1; \
410          done > config.sh; \
411        echo 'case "$$MAKE_SORTTMP" in "") \
412          SORTTMP="-e /!!SORTTMP!!/s/=.*$$/=/";; *) SORTTMP=;; esac' \
413          >> config.sh
414
415doedit:
416        . ./config.sh; \
417          sed -e "s@!!LIBDIR!!@$$LIBDIR@" -e "s@!!DEFDICT!!@$$DEFDICT@" \
418            -e "s@!!DEFHASH!!@$$DEFHASH@" -e "s@!!DEFLANG!!@$$DEFLANG@" \
419            -e "s@!!COUNTSUFFIX!!@$$COUNTSUFFIX@g" \
420            -e "s@!!HASHSUFFIX!!@$$HASHSUFFIX@g" \
421            -e "s@!!STATSUFFIX!!@$$STATSUFFIX@g" \
422            $$SORTTMP < $(EDITFILE) > $(OUTFILE)
423
424findaffix:      findaffix.X config.sh
425        @$(MAKE) EDITFILE=findaffix.X OUTFILE=findaffix doedit
426        chmod +x findaffix
427
428ispell.1:       ispell.1X config.sh
429        @$(MAKE) EDITFILE=ispell.1X OUTFILE=ispell.1 SHELLDEBUG=$(SHELLDEBUG) \
430          doedit
431
432munchlist:      munchlist.X config.sh
433        @$(MAKE) EDITFILE=munchlist.X OUTFILE=munchlist \
434          SHELLDEBUG=$(SHELLDEBUG) doedit
435        chmod +x munchlist
436
437subset: subset.X config.sh
438        @$(MAKE) EDITFILE=subset.X OUTFILE=subset SHELLDEBUG=$(SHELLDEBUG) \
439          doedit
440        chmod +x subset
441
442tryaffix:       tryaffix.X config.sh
443        @$(MAKE) EDITFILE=tryaffix.X OUTFILE=tryaffix \
444          SHELLDEBUG=$(SHELLDEBUG) doedit
445        chmod +x tryaffix
446
447zapdups:        zapdups.X config.sh
448        @$(MAKE) EDITFILE=zapdups.X OUTFILE=zapdups SHELLDEBUG=$(SHELLDEBUG) \
449          doedit
450        chmod +x zapdups
451
452OBJS    =       term.o ispell.o correct.o defmt.o dump.o good.o lookup.o \
453                hash.o makedent.o tgood.o tree.o xgets.o
454
455ispell: config.sh $(OBJS)
456        @. ./config.sh; \
457          set -x; \
458          $$CC $$CFLAGS -o ispell $(OBJS) $$TERMLIB $$REGLIB $$LIBES
459
460#       Since some makes don't have appropriate built-in rules, here are
461#       dependencies for sq and unsq.  Sigh.
462sq:     config.sh msgs.h sq.c
463        @. ./config.sh; \
464          set -x; \
465          $$CC $$CFLAGS -o sq sq.c
466
467unsq:   config.sh msgs.h unsq.c
468        @. ./config.sh; \
469          set -x; \
470          $$CC $$CFLAGS -o unsq unsq.c
471
472$(OBJS) buildhash.o icombine.o hash.o parse.o: config.h ispell.h local.h
473$(OBJS) buildhash.o icombine.o hash.o parse.o: proto.h msgs.h
474ijoin.o: config.h ispell.h local.h
475ijoin.o: proto.h fields.h
476buildhash.o correct.o ispell.o: version.h
477
478config.h:       config.X local.h
479        cp config.X config.h
480        chmod u+w config.h
481        echo '' >> config.h
482        echo '/* AUTOMATICALLY-GENERATED SYMBOLS */' >> config.h
483        cat local.h config.X \
484          | egrep '^#define[    ]*SIGNAL_TYPE' \
485          | sed -e 's/TYPE[     ]*/TYPE_STRING "/' -e 's/$$/"/' -e 1q \
486          >> config.h
487        cat local.h config.X \
488          | egrep '^#define[    ]*MASKTYPE' \
489          | sed -e 's/TYPE[     ]*/TYPE_STRING "/' -e 's/$$/"/' -e 1q \
490          >> config.h
491
492#       Create a sample local.h if no such file currently exists
493local.h:
494        set +e; [ -r local.h ]  ||  cp local.h.samp local.h
495
496msgs.h: config.sh FRC
497        @. ./config.sh; \
498          set $(SHELLDEBUG); \
499          set +e; \
500          if [ -r languages/$$MSGLANG/msgs.h ]; then \
501            msgs=languages/$$MSGLANG/msgs.h; \
502          else \
503            msgs=languages/english/msgs.h; \
504          fi; \
505          if cmp -s msgs.h $$msgs; then \
506            :; \
507          else \
508            set -x; \
509            rm -f msgs.h; ln $$msgs msgs.h  ||  cp $$msgs msgs.h; \
510          fi
511
512FRC:
513
514tags:   config.h *.[chy]
515        ctags -w -t *.[chy]
516        sed -e s/config.h/config.X/ tags > ntags
517        mv ntags tags
518
519TAGS:   config.h *.[chy]
520        etags *.[chy]
521        sed -e s/config.h/config.X/ TAGS > NTAGS
522        mv NTAGS TAGS
523
524lint:   languages/*/msgs.h
525lint:   config.sh config.h ispell.h proto.h *.[cy]
526        @. ./config.sh; \
527          $$LINT $$LINTFLAGS ispell.c correct.c defmt.c dump.c good.c \
528            hash.c lookup.c makedent.c tgood.c term.c tree.c xgets.c; \
529          $$YACC parse.y; \
530          $$LINT $$LINTFLAGS buildhash.c hash.c makedent.c y.tab.c; \
531          $$LINT $$LINTFLAGS icombine.c makedent.c y.tab.c; \
532          $$LINT $$LINTFLAGS ijoin.c fields.c
533        @rm -f y.tab.c
534
535clean:  config.sh clean-languages
536        @. ./config.sh; \
537          set -x; \
538          rm -f $$DEFHASH $$FOREIGNHASHES
539        rm -f *.o core a.out mon.out hash.out y.tab.c *.stat *.cnt \
540                config.h msgs.h
541        rm -f buildhash findaffix tryaffix ispell icombine ijoin \
542                munchlist subset sq unsq zapdups ispell.1
543
544clean-languages:
545        $(MAKE) LANGUAGE_TARGET=clean SHELLDEBUG=$(SHELLDEBUG) language-subdirs
546
547realclean veryclean:    clean dictclean
548        rm -f config.sh
549
550#
551#       The following dependency can be executed when ispell is unpacked,
552#       to unpack the dictionaries.
553#
554unpack: unsq
555        $(MAKE) LANGUAGE_TARGET=unpack SHELLDEBUG=$(SHELLDEBUG) \
556          language-subdirs
557
558unpacked:
559        $(MAKE) SHELLDEBUG=$(SHELLDEBUG) unpack
560        touch unpacked
561
562#
563#       The following target allows you to clean out the leftover raw
564#       files gotten from unpacking the kit.  It makes sure that you
565#       have the combined files first, so it may take a little while
566#       to run.
567#
568kitclean:       unsq
569        $(MAKE) LANGUAGE_TARGET=kitclean SHELLDEBUG=$(SHELLDEBUG) \
570          language-subdirs
571
572#
573#       The following target allows you to clean out the combined
574#       dictionary files.  For safety, so you don't lose your files,
575#       it makes sure that there is something to work from, but it can
576#       only be so smart, so be careful!
577#
578dictclean:
579        $(MAKE) LANGUAGE_TARGET=dictclean SHELLDEBUG=$(SHELLDEBUG) \
580          language-subdirs
Note: See TracBrowser for help on using the repository browser.