3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
77 unictype/ctype-print \
78 unictype/property-id-continue \
79 unictype/property-id-start \
80 unigbrk/uc-is-grapheme-break \
81 unilbrk/u8-possible-linebreaks \
92 uniwidth/u8-strwidth \
112 test -e ChangeLog || touch ChangeLog
113 test -d m4 || mkdir m4
115 $(MAKE) -f Smake gnulib
116 libtoolize --force --automake
117 aclocal -I m4 -I gl/m4
120 automake --add-missing --copy --no-force
123 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
124 --source-base=gl --lib=libgl --tests-base=tests \
125 --doc-base=gl/doc --aux-dir=build-aux --import \
126 --libtool $(GNULIB_MODULES)
130 test -d m4 || mkdir m4
132 gettextize --force --no-changelog
137 cd _check && ../configure $(CONFIGUREFLAGS)
138 cd _check && make distcheck
142 test -d _build || mkdir _build
143 cd _build && ../configure $(CONFIGUREFLAGS)
146 test -d _debug || mkdir _debug
147 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
149 PO_FILES = po/ChangeLog \
150 po/Rules-quot po/boldquot.sed \
151 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
152 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
153 po/Makevars.template po/pspp.pot
156 rm -f config.sub config.guess config.rpath
157 rm -fr autom4te.cache
159 rm -f missing mkinstalldirs
161 rm -f configure Makefile
165 rm -f $(PO_FILES) po/*.gmo
166 rm -f mdate-sh texinfo.tex
170 find . -name Makefile.in -exec rm -f {} \;
173 rm -f reloc-ldflags install-reloc
175 .PHONY: all gettextize clean