3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
74 unictype/ctype-print \
75 unictype/property-id-continue \
76 unictype/property-id-start \
77 unigbrk/uc-is-grapheme-break \
84 uniwidth/u8-strwidth \
104 test -e ChangeLog || touch ChangeLog
105 test -d m4 || mkdir m4
107 $(MAKE) -f Smake gnulib
108 libtoolize --force --automake
109 aclocal -I m4 -I gl/m4
112 automake --add-missing --copy --no-force
115 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
116 --source-base=gl --lib=libgl --tests-base=tests \
117 --doc-base=gl/doc --aux-dir=build-aux --import \
118 --libtool $(GNULIB_MODULES)
122 test -d m4 || mkdir m4
124 gettextize --force --no-changelog
129 cd _check && ../configure $(CONFIGUREFLAGS)
130 cd _check && make distcheck
134 test -d _build || mkdir _build
135 cd _build && ../configure $(CONFIGUREFLAGS)
138 test -d _debug || mkdir _debug
139 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
141 PO_FILES = po/ChangeLog \
142 po/Rules-quot po/boldquot.sed \
143 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
144 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
145 po/Makevars.template po/pspp.pot
148 rm -f config.sub config.guess config.rpath
149 rm -fr autom4te.cache
151 rm -f missing mkinstalldirs
153 rm -f configure Makefile
157 rm -f $(PO_FILES) po/*.gmo
158 rm -f mdate-sh texinfo.tex
162 find . -name Makefile.in -exec rm -f {} \;
165 rm -f reloc-ldflags install-reloc
167 .PHONY: all gettextize clean