1
0
Fork 0

added add-maintainer and add-automagic

This commit is contained in:
Frank Celler 2012-10-14 16:17:05 +02:00
parent a6cae7ecad
commit 7a50526018
2 changed files with 54 additions and 6 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ js-*.h
.setup-mr-directories
.setup-js-directories
README
Makefile
Makefile.in
aclocal.m4

View File

@ -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: