3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
77 unictype/ctype-print \
78 unictype/property-id-continue \
79 unictype/property-id-start \
80 unigbrk/uc-is-grapheme-break \
81 unilbrk/u8-possible-linebreaks \
92 uniwidth/u8-strwidth \
112 $(MAKE) -f Smake Makefile.in configure
116 test -e ChangeLog || touch ChangeLog
117 test -d m4 || mkdir m4
119 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
120 --source-base=gl --lib=libgl --tests-base=tests \
121 --doc-base=gl/doc --aux-dir=build-aux \
122 --libtool $(GNULIB_MODULES)
123 libtoolize --force --automake
126 aclocal -I m4 -I gl/m4
128 configure: configure.ac aclocal.m4
131 config.h.in: configure.ac
134 Makefile.in: Makefile.am config.h.in aclocal.m4
135 automake --add-missing --copy --no-force --include-deps
139 test -d m4 || mkdir m4
141 gettextize --force --no-changelog
146 cd _check && ../configure $(CONFIGUREFLAGS)
147 cd _check && make distcheck
151 test -d _build || mkdir _build
152 cd _build && ../configure $(CONFIGUREFLAGS)
155 test -d _debug || mkdir _debug
156 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
158 PO_FILES = po/ChangeLog \
159 po/Rules-quot po/boldquot.sed \
160 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
161 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
162 po/Makevars.template po/pspp.pot
165 rm -f config.sub config.guess config.rpath
166 rm -fr autom4te.cache
168 rm -f missing mkinstalldirs
170 rm -f configure Makefile
174 rm -f $(PO_FILES) po/*.gmo
175 rm -f mdate-sh texinfo.tex
179 find . -name Makefile.in -exec rm -f {} \;
182 rm -f reloc-ldflags install-reloc
184 .PHONY: all gettextize clean