3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
87 unictype/ctype-print \
88 unictype/category-of \
89 unigbrk/uc-is-grapheme-break \
90 unilbrk/u8-possible-linebreaks \
102 uniwidth/u8-strwidth \
122 $(MAKE) -f Smake Makefile.in configure
126 test -e ChangeLog || touch ChangeLog
127 test -d m4 || mkdir m4
129 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
130 --source-base=gl --lib=libgl --tests-base=tests \
131 --doc-base=gl/doc --aux-dir=build-aux \
132 --libtool $(GNULIB_MODULES)
133 libtoolize --force --automake
136 aclocal -I m4 -I gl/m4
138 configure: configure.ac aclocal.m4
141 config.h.in: configure.ac
144 Makefile.in: Makefile.am config.h.in aclocal.m4
145 automake --add-missing --copy --no-force --include-deps
149 test -d m4 || mkdir m4
151 gettextize --force --no-changelog
156 cd _check && ../configure $(CONFIGUREFLAGS)
157 cd _check && make distcheck
161 test -d _build || mkdir _build
162 cd _build && ../configure $(CONFIGUREFLAGS)
165 test -d _debug || mkdir _debug
166 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
168 PO_FILES = po/ChangeLog \
169 po/Rules-quot po/boldquot.sed \
170 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
171 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
172 po/Makevars.template po/pspp.pot
175 rm -f config.sub config.guess config.rpath
176 rm -fr autom4te.cache
178 rm -f missing mkinstalldirs
180 rm -f configure Makefile
184 rm -f $(PO_FILES) po/*.gmo
185 rm -f mdate-sh texinfo.tex
189 find . -name Makefile.in -exec rm -f {} \;
192 rm -f reloc-ldflags install-reloc
194 .PHONY: all gettextize clean