3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
75 unictype/ctype-print \
76 unictype/property-id-continue \
77 unictype/property-id-start \
78 unigbrk/uc-is-grapheme-break \
86 uniwidth/u8-strwidth \
106 test -e ChangeLog || touch ChangeLog
107 test -d m4 || mkdir m4
109 $(MAKE) -f Smake gnulib
110 libtoolize --force --automake
111 aclocal -I m4 -I gl/m4
114 automake --add-missing --copy --no-force
117 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
118 --source-base=gl --lib=libgl --tests-base=tests \
119 --doc-base=gl/doc --aux-dir=build-aux --import \
120 --libtool $(GNULIB_MODULES)
124 test -d m4 || mkdir m4
126 gettextize --force --no-changelog
131 cd _check && ../configure $(CONFIGUREFLAGS)
132 cd _check && make distcheck
136 test -d _build || mkdir _build
137 cd _build && ../configure $(CONFIGUREFLAGS)
140 test -d _debug || mkdir _debug
141 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
143 PO_FILES = po/ChangeLog \
144 po/Rules-quot po/boldquot.sed \
145 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
146 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
147 po/Makevars.template po/pspp.pot
150 rm -f config.sub config.guess config.rpath
151 rm -fr autom4te.cache
153 rm -f missing mkinstalldirs
155 rm -f configure Makefile
159 rm -f $(PO_FILES) po/*.gmo
160 rm -f mdate-sh texinfo.tex
164 find . -name Makefile.in -exec rm -f {} \;
167 rm -f reloc-ldflags install-reloc
169 .PHONY: all gettextize clean