3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
73 unilbrk/ulc-width-linebreaks \
96 test -e ChangeLog || touch ChangeLog
97 test -d m4 || mkdir m4
98 echo '*' > m4/.cvsignore
100 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
101 --source-base=gl --lib=libgl --tests-base=tests \
102 --doc-base=gl/doc --aux-dir=. --import $(GNULIB_MODULES)
103 echo '*' > gl/.cvsignore
104 echo '*' > gl/m4/.cvsignore
105 libtoolize --force --automake
106 aclocal -I m4 -I gl/m4
109 automake --add-missing --copy --no-force
112 test -d m4 || mkdir m4
114 gettextize --force --no-changelog
119 cd _check && ../configure $(CONFIGUREFLAGS)
120 cd _check && make distcheck
124 test -d _build || mkdir _build
125 cd _build && ../configure $(CONFIGUREFLAGS)
128 test -d _debug || mkdir _debug
129 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
131 PO_FILES = po/ChangeLog \
132 po/Rules-quot po/boldquot.sed \
133 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
134 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
135 po/Makevars.template po/pspp.pot
138 rm -f config.sub config.guess config.rpath
140 rm -fr autom4te.cache
142 rm -f missing mkinstalldirs
144 rm -f configure Makefile
148 rm -f $(PO_FILES) po/*.gmo
149 rm -f mdate-sh texinfo.tex
153 find . -name Makefile.in -exec rm -f {} \;
156 rm -f reloc-ldflags install-reloc
158 .PHONY: all gettextize clean