3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
77 unilbrk/ulc-width-linebreaks \
98 test -e ChangeLog || touch ChangeLog
99 test -d m4 || mkdir m4
100 echo '*' > m4/.cvsignore
102 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
103 --source-base=gl --lib=libgl --tests-base=tests \
104 --doc-base=gl/doc --aux-dir=. --import $(GNULIB_MODULES)
105 echo '*' > gl/.cvsignore
106 echo '*' > gl/m4/.cvsignore
107 libtoolize --force --automake
108 aclocal -I m4 -I gl/m4
111 automake --add-missing --copy --no-force
114 test -d m4 || mkdir m4
116 gettextize --force --no-changelog
121 cd _check && ../configure $(CONFIGUREFLAGS)
122 cd _check && make distcheck
126 test -d _build || mkdir _build
127 cd _build && ../configure $(CONFIGUREFLAGS)
130 test -d _debug || mkdir _debug
131 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
133 PO_FILES = po/ChangeLog \
134 po/Rules-quot po/boldquot.sed \
135 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
136 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
137 po/Makevars.template po/pspp.pot
140 rm -f config.sub config.guess config.rpath
142 rm -fr autom4te.cache
144 rm -f missing mkinstalldirs
146 rm -f configure Makefile
150 rm -f $(PO_FILES) po/*.gmo
151 rm -f mdate-sh texinfo.tex
155 find . -name Makefile.in -exec rm -f {} \;
158 rm -f reloc-ldflags install-reloc
160 .PHONY: all gettextize clean