3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
71 unilbrk/ulc-width-linebreaks \
94 test -e ChangeLog || touch ChangeLog
95 test -d m4 || mkdir m4
97 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
98 --source-base=gl --lib=libgl --tests-base=tests \
99 --doc-base=gl/doc --aux-dir=build-aux --import \
100 --libtool $(GNULIB_MODULES)
101 libtoolize --force --automake
102 aclocal -I m4 -I gl/m4
105 automake --add-missing --copy --no-force
108 test -d m4 || mkdir m4
110 gettextize --force --no-changelog
115 cd _check && ../configure $(CONFIGUREFLAGS)
116 cd _check && make distcheck
120 test -d _build || mkdir _build
121 cd _build && ../configure $(CONFIGUREFLAGS)
124 test -d _debug || mkdir _debug
125 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
127 PO_FILES = po/ChangeLog \
128 po/Rules-quot po/boldquot.sed \
129 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
130 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
131 po/Makevars.template po/pspp.pot
134 rm -f config.sub config.guess config.rpath
135 rm -fr autom4te.cache
137 rm -f missing mkinstalldirs
139 rm -f configure Makefile
143 rm -f $(PO_FILES) po/*.gmo
144 rm -f mdate-sh texinfo.tex
148 find . -name Makefile.in -exec rm -f {} \;
151 rm -f reloc-ldflags install-reloc
153 .PHONY: all gettextize clean