3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
83 unictype/ctype-print \
84 unictype/category-of \
85 unigbrk/uc-is-grapheme-break \
86 unilbrk/u8-possible-linebreaks \
98 uniwidth/u8-strwidth \
118 $(MAKE) -f Smake Makefile.in configure
122 test -e ChangeLog || touch ChangeLog
123 test -d m4 || mkdir m4
125 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
126 --source-base=gl --lib=libgl --tests-base=tests \
127 --doc-base=gl/doc --aux-dir=build-aux \
128 --libtool $(GNULIB_MODULES)
129 libtoolize --force --automake
132 aclocal -I m4 -I gl/m4
134 configure: configure.ac aclocal.m4
137 config.h.in: configure.ac
140 Makefile.in: Makefile.am config.h.in aclocal.m4
141 automake --add-missing --copy --no-force --include-deps
145 test -d m4 || mkdir m4
147 gettextize --force --no-changelog
152 cd _check && ../configure $(CONFIGUREFLAGS)
153 cd _check && make distcheck
157 test -d _build || mkdir _build
158 cd _build && ../configure $(CONFIGUREFLAGS)
161 test -d _debug || mkdir _debug
162 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
164 PO_FILES = po/ChangeLog \
165 po/Rules-quot po/boldquot.sed \
166 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
167 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
168 po/Makevars.template po/pspp.pot
171 rm -f config.sub config.guess config.rpath
172 rm -fr autom4te.cache
174 rm -f missing mkinstalldirs
176 rm -f configure Makefile
180 rm -f $(PO_FILES) po/*.gmo
181 rm -f mdate-sh texinfo.tex
185 find . -name Makefile.in -exec rm -f {} \;
188 rm -f reloc-ldflags install-reloc
190 .PHONY: all gettextize clean