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 test -e ChangeLog || touch ChangeLog
114 test -d m4 || mkdir m4
116 $(MAKE) -f Smake gnulib
117 libtoolize --force --automake
118 aclocal -I m4 -I gl/m4
121 automake --add-missing --copy --no-force
124 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
125 --source-base=gl --lib=libgl --tests-base=tests \
126 --doc-base=gl/doc --aux-dir=build-aux --import \
127 --libtool $(GNULIB_MODULES)
131 test -d m4 || mkdir m4
133 gettextize --force --no-changelog
138 cd _check && ../configure $(CONFIGUREFLAGS)
139 cd _check && make distcheck
143 test -d _build || mkdir _build
144 cd _build && ../configure $(CONFIGUREFLAGS)
147 test -d _debug || mkdir _debug
148 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
150 PO_FILES = po/ChangeLog \
151 po/Rules-quot po/boldquot.sed \
152 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
153 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
154 po/Makevars.template po/pspp.pot
157 rm -f config.sub config.guess config.rpath
158 rm -fr autom4te.cache
160 rm -f missing mkinstalldirs
162 rm -f configure Makefile
166 rm -f $(PO_FILES) po/*.gmo
167 rm -f mdate-sh texinfo.tex
171 find . -name Makefile.in -exec rm -f {} \;
174 rm -f reloc-ldflags install-reloc
176 .PHONY: all gettextize clean