3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
78 unictype/ctype-print \
79 unictype/property-id-continue \
80 unictype/property-id-start \
81 unigbrk/uc-is-grapheme-break \
82 unilbrk/u8-possible-linebreaks \
93 uniwidth/u8-strwidth \
113 $(MAKE) -f Smake Makefile.in configure
117 test -e ChangeLog || touch ChangeLog
118 test -d m4 || mkdir m4
120 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
121 --source-base=gl --lib=libgl --tests-base=tests \
122 --doc-base=gl/doc --aux-dir=build-aux \
123 --libtool $(GNULIB_MODULES)
124 libtoolize --force --automake
127 aclocal -I m4 -I gl/m4
129 configure: configure.ac aclocal.m4
132 config.h.in: configure.ac
135 Makefile.in: Makefile.am config.h.in aclocal.m4
136 automake --add-missing --copy --no-force --include-deps
140 test -d m4 || mkdir m4
142 gettextize --force --no-changelog
147 cd _check && ../configure $(CONFIGUREFLAGS)
148 cd _check && make distcheck
152 test -d _build || mkdir _build
153 cd _build && ../configure $(CONFIGUREFLAGS)
156 test -d _debug || mkdir _debug
157 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
159 PO_FILES = po/ChangeLog \
160 po/Rules-quot po/boldquot.sed \
161 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
162 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
163 po/Makevars.template po/pspp.pot
166 rm -f config.sub config.guess config.rpath
167 rm -fr autom4te.cache
169 rm -f missing mkinstalldirs
171 rm -f configure Makefile
175 rm -f $(PO_FILES) po/*.gmo
176 rm -f mdate-sh texinfo.tex
180 find . -name Makefile.in -exec rm -f {} \;
183 rm -f reloc-ldflags install-reloc
185 .PHONY: all gettextize clean