3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
81 unictype/ctype-print \
82 unictype/property-id-continue \
83 unictype/property-id-start \
84 unigbrk/uc-is-grapheme-break \
85 unilbrk/u8-possible-linebreaks \
97 uniwidth/u8-strwidth \
117 $(MAKE) -f Smake Makefile.in configure
121 test -e ChangeLog || touch ChangeLog
122 test -d m4 || mkdir m4
124 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
125 --source-base=gl --lib=libgl --tests-base=tests \
126 --doc-base=gl/doc --aux-dir=build-aux \
127 --libtool $(GNULIB_MODULES)
128 libtoolize --force --automake
131 aclocal -I m4 -I gl/m4
133 configure: configure.ac aclocal.m4
136 config.h.in: configure.ac
139 Makefile.in: Makefile.am config.h.in aclocal.m4
140 automake --add-missing --copy --no-force --include-deps
144 test -d m4 || mkdir m4
146 gettextize --force --no-changelog
151 cd _check && ../configure $(CONFIGUREFLAGS)
152 cd _check && make distcheck
156 test -d _build || mkdir _build
157 cd _build && ../configure $(CONFIGUREFLAGS)
160 test -d _debug || mkdir _debug
161 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
163 PO_FILES = po/ChangeLog \
164 po/Rules-quot po/boldquot.sed \
165 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
166 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
167 po/Makevars.template po/pspp.pot
170 rm -f config.sub config.guess config.rpath
171 rm -fr autom4te.cache
173 rm -f missing mkinstalldirs
175 rm -f configure Makefile
179 rm -f $(PO_FILES) po/*.gmo
180 rm -f mdate-sh texinfo.tex
184 find . -name Makefile.in -exec rm -f {} \;
187 rm -f reloc-ldflags install-reloc
189 .PHONY: all gettextize clean