1 # Neatroff top-level Makefile
5 # Input fonts directory; containing ghostscript-fonts and other fonts
6 FONTS
= $(PREFIX
)/fonts
8 # Output device directory
16 @echo
"Neatroff top-level makefile"
18 @echo
" init Initialise git repositories and fonts"
19 @echo
" neat Compile the programs and generate the fonts"
20 @echo
" pull Update git repositories (git pull)"
21 @echo
" clean Remove the generated files"
25 @
test -d neatroff || git clone git
://repo.or.cz
/neatroff.git
26 @
test -d neatpost || git clone git
://repo.or.cz
/neatpost.git
27 @
test -d neatmkfn || git clone git
://repo.or.cz
/neatmkfn.git
28 @
test -d neateqn || git clone git
://repo.or.cz
/neateqn.git
29 @
test -d neatrefer || git clone git
://repo.or.cz
/neatrefer.git
30 @
test -d troff || git clone git
://repo.or.cz
/troff.git
31 @cd fonts
&& sh .
/fonts.sh
34 cd neatroff
&& git pull
35 cd neatpost
&& git pull
36 cd neatmkfn
&& git pull
37 cd neateqn
&& git pull
38 cd neatrefer
&& git pull
43 @cd neatroff
&& $(MAKE
) FDIR
="$(FDIR)" MDIR
="$(MDIR)"
44 @cd neatpost
&& $(MAKE
) FDIR
="$(FDIR)" MDIR
="$(MDIR)"
45 @cd neateqn
&& $(MAKE
)
46 @cd neatmkfn
&& $(MAKE
)
47 @cd neatrefer
&& $(MAKE
)
48 @cd troff
/pic
&& $(MAKE
)
49 @cd troff
/tbl
&& $(MAKE
)
50 @cd neatmkfn
&& .
/gen.sh
$(FONTS
) $(FDIR
)/devutf
>/dev
/null
53 cd neatroff
&& $(MAKE
) clean
54 cd neatpost
&& $(MAKE
) clean
55 cd neateqn
&& $(MAKE
) clean
56 cd neatmkfn
&& $(MAKE
) clean
57 cd neatrefer
&& $(MAKE
) clean
58 cd troff
/tbl
&& $(MAKE
) clean
59 cd troff
/pic
&& $(MAKE
) clean