diff --git a/.gitignore b/.gitignore index e81daf3643..0b28df562c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ js-*.h .setup-mr-directories .setup-js-directories +README Makefile Makefile.in aclocal.m4 diff --git a/GNUmakefile b/GNUmakefile index 311f71f1b6..e4e05abf0c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,13 +1,17 @@ -################################################################################ -## GNUmakefile for ArangoDB -################################################################################ +# -*- mode: Makefile; -*- + +## ----------------------------------------------------------------------------- +## --SECTION-- SPECIAL TARGETS +## ----------------------------------------------------------------------------- -include Makefile ################################################################################ -# setup +### @brief setup ################################################################################ +.PHONY: setup + setup: @echo ACLOCAL @aclocal -I m4 @@ -17,9 +21,52 @@ setup: @autoconf -I m4 @echo auto system configured, proceed with configure -setup-git: setup +################################################################################ +### @brief add maintainer files +################################################################################ + +MAINTAINER = \ + README \ + arangod/Ahuacatl/ahuacatl-tokens.c \ + lib/JsonParser/json-parser.c \ + lib/V8/v8-json.cpp \ + lib/V8/v8-json.h \ + lib/BasicsC/voc-errors.h \ + lib/BasicsC/voc-errors.c \ + js/common/bootstrap/errors.js + +AUTOMAGIC = \ + Makefile.in \ + aclocal.m4 \ + config/compile \ + config/config.guess \ + config/config.sub \ + config/depcomp \ + config/install-sh \ + config/missing + +.PHONY: add-maintainer add-automagic + +add-maintainer: @echo adding generated files to GIT - git add Makefile.in aclocal.m4 config/compile config/config.guess config/config.sub config/depcomp config/install-sh config/missing + git add -f $(MAINTAINER) + +add-automagic: + @echo adding automagic files to GIT + git add -f $(AUTOMAGIC) + +################################################################################ +### @brief make love +################################################################################ love: @echo ArangoDB loves you + +## ----------------------------------------------------------------------------- +## --SECTION-- END-OF-FILE +## ----------------------------------------------------------------------------- + +## Local Variables: +## mode: outline-minor +## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)" +## End: