I'm pleased to announce bzr.mk. This short Makefile generates a .bzrignore file automatically. It is a modified version of Behdads git.mk.

  1. Go to your projects directory.
  2. Run `copy-bzrmk`.
  3. Run `make -f bzr.mk`.
  4. Define a BZRIGNOREFILES into your $(top_srcdir)/Makefile.am, and add the file who should be ignored.
  5. You can use in MAINTAINERCLEANFILES of your $(top_srcdir)/Makefile.am:
    • $(BZRIGNORE_MAINTAINERCLEANFILES_TOPLEVEL)
    • $(BZRIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN)
    • $(BZRIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL)
    • $(BZRIGNORE_MAINTAINERCLEANFILES_M4_GETTEXT)

Roundabout: