summaryrefslogtreecommitdiff
path: root/dviware/dvibook/NoImake
blob: 61139c6e1ae21a359d9f45847f1e0eec3c59c9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

cat Imake.cpp Imakefile | /lib/cpp > Makefile.tmp
m4 Imake.m4 Makefile.tmp > Makefile
rm -f Makefile.tmp

COMMON_SUBDIRS="libtex Dviselect Dviconcat Dvitodvi Dvibook"

for dir in ${COMMON_SUBDIRS} ;
do 
    echo Build makefile in $dir ;
    (cd $dir;
	cat ../Imake.cpp Imakefile | /lib/cpp > Makefile.tmp ; 
	m4 ../Imake.m4 Makefile.tmp > Makefile ;
	rm -f Makefile.tmp ; 
    )
done