diff options
author | 2014-04-02 22:27:11 +0200 | |
---|---|---|
committer | 2014-04-02 22:27:11 +0200 | |
commit | 8a76e7a8a17e118fcc9b6d6c3ac1a670fa10e0cb (patch) | |
tree | 3d7e68f015a765faf88334af7fb480d6df9fd549 /Makefile | |
parent | Makefile: add 'setver', 'version-bump' targets (diff) | |
download | R_overlay-8a76e7a8a17e118fcc9b6d6c3ac1a670fa10e0cb.tar.gz R_overlay-8a76e7a8a17e118fcc9b6d6c3ac1a670fa10e0cb.tar.bz2 R_overlay-8a76e7a8a17e118fcc9b6d6c3ac1a670fa10e0cb.zip |
Makefile: add 'generate-files-commit' target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |