3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
86 unictype/ctype-print \
87 unictype/category-of \
88 unigbrk/uc-is-grapheme-break \
89 unilbrk/u8-possible-linebreaks \
101 uniwidth/u8-strwidth \
121 $(MAKE) -f Smake Makefile.in configure
125 test -e ChangeLog || touch ChangeLog
126 test -d m4 || mkdir m4
128 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
129 --source-base=gl --lib=libgl --tests-base=tests \
130 --doc-base=gl/doc --aux-dir=build-aux \
131 --libtool $(GNULIB_MODULES)
132 libtoolize --force --automake
135 aclocal -I m4 -I gl/m4
137 configure: configure.ac aclocal.m4
140 config.h.in: configure.ac
143 Makefile.in: Makefile.am config.h.in aclocal.m4
144 automake --add-missing --copy --no-force --include-deps
148 test -d m4 || mkdir m4
150 gettextize --force --no-changelog
155 cd _check && ../configure $(CONFIGUREFLAGS)
156 cd _check && make distcheck
160 test -d _build || mkdir _build
161 cd _build && ../configure $(CONFIGUREFLAGS)
164 test -d _debug || mkdir _debug
165 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
167 PO_FILES = po/ChangeLog \
168 po/Rules-quot po/boldquot.sed \
169 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
170 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
171 po/Makevars.template po/pspp.pot
174 rm -f config.sub config.guess config.rpath
175 rm -fr autom4te.cache
177 rm -f missing mkinstalldirs
179 rm -f configure Makefile
183 rm -f $(PO_FILES) po/*.gmo
184 rm -f mdate-sh texinfo.tex
188 find . -name Makefile.in -exec rm -f {} \;
191 rm -f reloc-ldflags install-reloc
193 .PHONY: all gettextize clean