3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
76 unilbrk/ulc-width-linebreaks \
99 test -e ChangeLog || touch ChangeLog
100 test -d m4 || mkdir m4
101 echo '*' > m4/.cvsignore
103 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
104 --source-base=gl --lib=libgl --tests-base=tests \
105 --doc-base=gl/doc --aux-dir=build-aux --import \
107 echo '*' > gl/.cvsignore
108 echo '*' > gl/m4/.cvsignore
109 libtoolize --force --automake
110 aclocal -I m4 -I gl/m4
113 automake --add-missing --copy --no-force
116 test -d m4 || mkdir m4
118 gettextize --force --no-changelog
123 cd _check && ../configure $(CONFIGUREFLAGS)
124 cd _check && make distcheck
128 test -d _build || mkdir _build
129 cd _build && ../configure $(CONFIGUREFLAGS)
132 test -d _debug || mkdir _debug
133 cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
135 PO_FILES = po/ChangeLog \
136 po/Rules-quot po/boldquot.sed \
137 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
138 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
139 po/Makevars.template po/pspp.pot
142 rm -f config.sub config.guess config.rpath
143 rm -fr autom4te.cache
145 rm -f missing mkinstalldirs
147 rm -f configure Makefile
151 rm -f $(PO_FILES) po/*.gmo
152 rm -f mdate-sh texinfo.tex
156 find . -name Makefile.in -exec rm -f {} \;
159 rm -f reloc-ldflags install-reloc
161 .PHONY: all gettextize clean