|
|
|
@ -204,7 +204,7 @@ git-mk-update: |
|
|
|
|
# Actual .gitignore generation:
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk |
|
|
|
|
$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk $(top_srcdir)/configure.ac |
|
|
|
|
@echo "git.mk: Generating $@"
|
|
|
|
|
@{ \
|
|
|
|
|
if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
|
|
|
|
@ -375,8 +375,9 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk |
|
|
|
|
} | \
|
|
|
|
|
sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
|
|
|
|
|
sed 's@/[.]/@/@g' | \
|
|
|
|
|
LC_ALL=C sort | uniq > $@.tmp && \
|
|
|
|
|
mv $@.tmp $@;
|
|
|
|
|
LC_ALL=C sort | uniq > .gitignore.tmp && \
|
|
|
|
|
(mv .gitignore.tmp $@ || (echo "WARNING: Cannot create $@ file; skipping"; \
|
|
|
|
|
$(RM) .gitignore.tmp));
|
|
|
|
|
|
|
|
|
|
all: $(srcdir)/.gitignore gitignore-recurse-maybe |
|
|
|
|
gitignore: $(srcdir)/.gitignore gitignore-recurse |
|
|
|
|