3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
76 unictype/ctype-print \
77 unictype/property-id-continue \
78 unictype/property-id-start \
79 unigbrk/uc-is-grapheme-break \
90 uniwidth/u8-strwidth \
110 test -e ChangeLog || touch ChangeLog
111 test -d m4 || mkdir m4
113 $(MAKE) -f Smake gnulib
114 libtoolize --force --automake
115 aclocal -I m4 -I gl/m4
118 automake --add-missing --copy --no-force
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 --import \
124 --libtool $(GNULIB_MODULES)
128 test -d m4 || mkdir m4
130 gettextize --force --no-changelog
135 cd _check && ../configure $(CONFIGUREFLAGS)
136 cd _check && make distcheck
140 test -d _build || mkdir _build
141 cd _build && ../configure $(CONFIGUREFLAGS)
144 test -d _debug || mkdir _debug
145 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
147 PO_FILES = po/ChangeLog \
148 po/Rules-quot po/boldquot.sed \
149 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
150 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
151 po/Makevars.template po/pspp.pot
154 rm -f config.sub config.guess config.rpath
155 rm -fr autom4te.cache
157 rm -f missing mkinstalldirs
159 rm -f configure Makefile
163 rm -f $(PO_FILES) po/*.gmo
164 rm -f mdate-sh texinfo.tex
168 find . -name Makefile.in -exec rm -f {} \;
171 rm -f reloc-ldflags install-reloc
173 .PHONY: all gettextize clean