From 8a76e7a8a17e118fcc9b6d6c3ac1a670fa10e0cb Mon Sep 17 00:00:00 2001 From: André Erdmann Date: Wed, 2 Apr 2014 22:27:11 +0200 Subject: Makefile: add 'generate-files-commit' target --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 505f0cf..1b43925 100644 --- a/Makefile +++ b/Makefile @@ -175,6 +175,18 @@ generate-config: \ PHONY += generate-files generate-files: generate-config generate-doc generate-manifest generate-licenses +PHONY += generate-files-commit +generate-files-commit: + { ! $(X_GIT) status --porcelain -- . | grep ^[MADRCU]; } + $(X_GIT) add -vu -- \ + R-overlay.conf \ + R-overlay.conf.others \ + config/R-overlay.conf.install \ + config/R-overlay.conf.install.others \ + doc/html/ \ + files/licenses + $(X_GIT) commit -m "update generated files" + # creates a src tarball (.tar.bz2) PHONY += release release: generate-files -- cgit v1.2.3-65-gdbad