3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
79 unictype/ctype-print \
80 unictype/property-id-continue \
81 unictype/property-id-start \
82 unigbrk/uc-is-grapheme-break \
83 unilbrk/u8-possible-linebreaks \
94 uniwidth/u8-strwidth \
114 $(MAKE) -f Smake Makefile.in configure
118 test -e ChangeLog || touch ChangeLog
119 test -d m4 || mkdir m4
121 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
122 --source-base=gl --lib=libgl --tests-base=tests \
123 --doc-base=gl/doc --aux-dir=build-aux \
124 --libtool $(GNULIB_MODULES)
125 libtoolize --force --automake
128 aclocal -I m4 -I gl/m4
130 configure: configure.ac aclocal.m4
133 config.h.in: configure.ac
136 Makefile.in: Makefile.am config.h.in aclocal.m4
137 automake --add-missing --copy --no-force --include-deps
141 test -d m4 || mkdir m4
143 gettextize --force --no-changelog
148 cd _check && ../configure $(CONFIGUREFLAGS)
149 cd _check && make distcheck
153 test -d _build || mkdir _build
154 cd _build && ../configure $(CONFIGUREFLAGS)
157 test -d _debug || mkdir _debug
158 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
160 PO_FILES = po/ChangeLog \
161 po/Rules-quot po/boldquot.sed \
162 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
163 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
164 po/Makevars.template po/pspp.pot
167 rm -f config.sub config.guess config.rpath
168 rm -fr autom4te.cache
170 rm -f missing mkinstalldirs
172 rm -f configure Makefile
176 rm -f $(PO_FILES) po/*.gmo
177 rm -f mdate-sh texinfo.tex
181 find . -name Makefile.in -exec rm -f {} \;
184 rm -f reloc-ldflags install-reloc
186 .PHONY: all gettextize clean