3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
84 unictype/ctype-print \
85 unictype/category-of \
86 unigbrk/uc-is-grapheme-break \
87 unilbrk/u8-possible-linebreaks \
99 uniwidth/u8-strwidth \
119 $(MAKE) -f Smake Makefile.in configure
123 test -e ChangeLog || touch ChangeLog
124 test -d m4 || mkdir m4
126 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
127 --source-base=gl --lib=libgl --tests-base=tests \
128 --doc-base=gl/doc --aux-dir=build-aux \
129 --libtool $(GNULIB_MODULES)
130 libtoolize --force --automake
133 aclocal -I m4 -I gl/m4
135 configure: configure.ac aclocal.m4
138 config.h.in: configure.ac
141 Makefile.in: Makefile.am config.h.in aclocal.m4
142 automake --add-missing --copy --no-force --include-deps
146 test -d m4 || mkdir m4
148 gettextize --force --no-changelog
153 cd _check && ../configure $(CONFIGUREFLAGS)
154 cd _check && make distcheck
158 test -d _build || mkdir _build
159 cd _build && ../configure $(CONFIGUREFLAGS)
162 test -d _debug || mkdir _debug
163 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
165 PO_FILES = po/ChangeLog \
166 po/Rules-quot po/boldquot.sed \
167 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
168 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
169 po/Makevars.template po/pspp.pot
172 rm -f config.sub config.guess config.rpath
173 rm -fr autom4te.cache
175 rm -f missing mkinstalldirs
177 rm -f configure Makefile
181 rm -f $(PO_FILES) po/*.gmo
182 rm -f mdate-sh texinfo.tex
186 find . -name Makefile.in -exec rm -f {} \;
189 rm -f reloc-ldflags install-reloc
191 .PHONY: all gettextize clean