3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
73 unictype/property-id-continue \
74 unictype/property-id-start \
75 unigbrk/uc-is-grapheme-break \
82 uniwidth/u8-strwidth \
102 test -e ChangeLog || touch ChangeLog
103 test -d m4 || mkdir m4
105 $(MAKE) -f Smake gnulib
106 libtoolize --force --automake
107 aclocal -I m4 -I gl/m4
110 automake --add-missing --copy --no-force
113 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
114 --source-base=gl --lib=libgl --tests-base=tests \
115 --doc-base=gl/doc --aux-dir=build-aux --import \
116 --libtool $(GNULIB_MODULES)
120 test -d m4 || mkdir m4
122 gettextize --force --no-changelog
127 cd _check && ../configure $(CONFIGUREFLAGS)
128 cd _check && make distcheck
132 test -d _build || mkdir _build
133 cd _build && ../configure $(CONFIGUREFLAGS)
136 test -d _debug || mkdir _debug
137 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
139 PO_FILES = po/ChangeLog \
140 po/Rules-quot po/boldquot.sed \
141 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
142 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
143 po/Makevars.template po/pspp.pot
146 rm -f config.sub config.guess config.rpath
147 rm -fr autom4te.cache
149 rm -f missing mkinstalldirs
151 rm -f configure Makefile
155 rm -f $(PO_FILES) po/*.gmo
156 rm -f mdate-sh texinfo.tex
160 find . -name Makefile.in -exec rm -f {} \;
163 rm -f reloc-ldflags install-reloc
165 .PHONY: all gettextize clean