3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
74 unilbrk/ulc-width-linebreaks \
97 test -e ChangeLog || touch ChangeLog
98 test -d m4 || mkdir m4
99 echo '*' > m4/.cvsignore
101 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
102 --source-base=gl --lib=libgl --tests-base=tests \
103 --doc-base=gl/doc --aux-dir=. --import $(GNULIB_MODULES)
104 echo '*' > gl/.cvsignore
105 echo '*' > gl/m4/.cvsignore
106 libtoolize --force --automake
107 aclocal -I m4 -I gl/m4
110 automake --add-missing --copy --no-force
113 test -d m4 || mkdir m4
115 gettextize --force --no-changelog
120 cd _check && ../configure $(CONFIGUREFLAGS)
121 cd _check && make distcheck
125 test -d _build || mkdir _build
126 cd _build && ../configure $(CONFIGUREFLAGS)
129 test -d _debug || mkdir _debug
130 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
132 PO_FILES = po/ChangeLog \
133 po/Rules-quot po/boldquot.sed \
134 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
135 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
136 po/Makevars.template po/pspp.pot
139 rm -f config.sub config.guess config.rpath
141 rm -fr autom4te.cache
143 rm -f missing mkinstalldirs
145 rm -f configure Makefile
149 rm -f $(PO_FILES) po/*.gmo
150 rm -f mdate-sh texinfo.tex
154 find . -name Makefile.in -exec rm -f {} \;
157 rm -f reloc-ldflags install-reloc
159 .PHONY: all gettextize clean