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 \
91 uniwidth/u8-strwidth \
111 test -e ChangeLog || touch ChangeLog
112 test -d m4 || mkdir m4
114 $(MAKE) -f Smake gnulib
115 libtoolize --force --automake
116 aclocal -I m4 -I gl/m4
119 automake --add-missing --copy --no-force
122 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
123 --source-base=gl --lib=libgl --tests-base=tests \
124 --doc-base=gl/doc --aux-dir=build-aux --import \
125 --libtool $(GNULIB_MODULES)
129 test -d m4 || mkdir m4
131 gettextize --force --no-changelog
136 cd _check && ../configure $(CONFIGUREFLAGS)
137 cd _check && make distcheck
141 test -d _build || mkdir _build
142 cd _build && ../configure $(CONFIGUREFLAGS)
145 test -d _debug || mkdir _debug
146 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
148 PO_FILES = po/ChangeLog \
149 po/Rules-quot po/boldquot.sed \
150 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
151 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
152 po/Makevars.template po/pspp.pot
155 rm -f config.sub config.guess config.rpath
156 rm -fr autom4te.cache
158 rm -f missing mkinstalldirs
160 rm -f configure Makefile
164 rm -f $(PO_FILES) po/*.gmo
165 rm -f mdate-sh texinfo.tex
169 find . -name Makefile.in -exec rm -f {} \;
172 rm -f reloc-ldflags install-reloc
174 .PHONY: all gettextize clean