diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..0184e08a --- /dev/null +++ b/Makefile | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # | ||
| 2 | # Copyright 2008 Google Inc. | ||
| 3 | # | ||
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | # you may not use this file except in compliance with the License. | ||
| 6 | # You may obtain a copy of the License at | ||
| 7 | # | ||
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | # | ||
| 10 | # Unless required by applicable law or agreed to in writing, software | ||
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 13 | # See the License for the specific language governing permissions and | ||
| 14 | # limitations under the License. | ||
| 15 | |||
| 16 | GERRIT_SRC=../gerrit | ||
| 17 | GERRIT_MODULES=codereview froofle | ||
| 18 | |||
| 19 | all: | ||
| 20 | |||
| 21 | clean: | ||
| 22 | find . -name \*.pyc -type f | xargs rm -f | ||
| 23 | |||
| 24 | update-pyclient: | ||
| 25 | $(MAKE) -C $(GERRIT_SRC) release-pyclient | ||
| 26 | rm -rf $(GERRIT_MODULES) | ||
| 27 | (cd $(GERRIT_SRC)/release/pyclient && \ | ||
| 28 | find . -type f \ | ||
| 29 | | cpio -pd $(abspath .)) | ||
