3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
72 unilbrk/ulc-width-linebreaks \
74 unictype/property-id-continue \
75 unictype/property-id-start \
99 test -e ChangeLog || touch ChangeLog
100 test -d m4 || mkdir m4
102 $(MAKE) -f Smake gnulib
103 libtoolize --force --automake
104 aclocal -I m4 -I gl/m4
107 automake --add-missing --copy --no-force
110 $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
111 --source-base=gl --lib=libgl --tests-base=tests \
112 --doc-base=gl/doc --aux-dir=build-aux --import \
113 --libtool $(GNULIB_MODULES)
117 test -d m4 || mkdir m4
119 gettextize --force --no-changelog
124 cd _check && ../configure $(CONFIGUREFLAGS)
125 cd _check && make distcheck
129 test -d _build || mkdir _build
130 cd _build && ../configure $(CONFIGUREFLAGS)
133 test -d _debug || mkdir _debug
134 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
136 PO_FILES = po/ChangeLog \
137 po/Rules-quot po/boldquot.sed \
138 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
139 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
140 po/Makevars.template po/pspp.pot
143 rm -f config.sub config.guess config.rpath
144 rm -fr autom4te.cache
146 rm -f missing mkinstalldirs
148 rm -f configure Makefile
152 rm -f $(PO_FILES) po/*.gmo
153 rm -f mdate-sh texinfo.tex
157 find . -name Makefile.in -exec rm -f {} \;
160 rm -f reloc-ldflags install-reloc
162 .PHONY: all gettextize clean