# distribute all files that are under version control ...
# ... plus (for convenience):
-DISTINCLUDE = config.h.in configure stamp-h.in sbr/dtimep.c
+DISTINCLUDE = config.h.in configure stamp-h.in sbr/dtimep.c ChangeLog
# ... minus (git stuff):
DISTEXCLUDE = .git .gitignore
clean-local: mostlyclean-local
distclean-local: clean-local
- rm -f Makefile config.h config.status config.log config.cache stamp-h distname
+ rm -f Makefile config.h config.status config.log config.cache stamp-h distname ChangeLog
realclean-local: distclean-local
sbr/dtimep.c:
@cd $(srcdir)/sbr && $(MAKE) dtimep.c
+ChangeLog:
+ @git whatchanged --format=fuller > $@
+
# build mmh distribution
distdir = `cat distname`
mmhdist: $(DISTINCLUDE) distname