David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [diff] [blame] | 1 | # |
| 2 | # Licensed to the Apache Software Foundation (ASF) under one |
| 3 | # or more contributor license agreements. See the NOTICE file |
| 4 | # distributed with this work for additional information |
| 5 | # regarding copyright ownership. The ASF licenses this file |
| 6 | # to you under the Apache License, Version 2.0 (the |
| 7 | # "License"); you may not use this file except in compliance |
| 8 | # with the License. You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, |
| 13 | # software distributed under the License is distributed on an |
| 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | # KIND, either express or implied. See the License for the |
| 16 | # specific language governing permissions and limitations |
| 17 | # under the License. |
| 18 | # |
| 19 | |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 20 | ACLOCAL_AMFLAGS = -I ./aclocal |
| 21 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 22 | SUBDIRS = compiler/cpp lib tutorial |
Jake Farrell | 627f1a0 | 2011-09-14 03:43:49 +0000 | [diff] [blame] | 23 | |
| 24 | if WITH_TESTS |
| 25 | SUBDIRS += test |
| 26 | endif |
David Reiss | e211393 | 2009-03-26 08:47:07 +0000 | [diff] [blame] | 27 | |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 28 | SUBDIRS += tutorial |
| 29 | |
David Reiss | e211393 | 2009-03-26 08:47:07 +0000 | [diff] [blame] | 30 | dist-hook: |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 31 | find $(distdir) -type f \( -iname ".DS_Store" -or -iname "._*" -or -iname ".gitignore" \) | xargs rm -rf |
| 32 | find $(distdir) -type d \( -iname ".deps" -or -iname ".libs" \) | xargs rm -rf |
Roger Meier | f2100be | 2011-03-23 20:36:20 +0000 | [diff] [blame] | 33 | find $(distdir) -type d \( -iname ".svn" -or -iname ".git" \) | xargs rm -rf |
David Reiss | e211393 | 2009-03-26 08:47:07 +0000 | [diff] [blame] | 34 | |
Roger Meier | 2287278 | 2010-10-22 11:20:25 +0000 | [diff] [blame] | 35 | print-version: |
| 36 | @echo $(VERSION) |
| 37 | |
Jake Farrell | e0c5316 | 2011-11-16 12:58:36 +0000 | [diff] [blame] | 38 | EXTRA_DIST = \ |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 39 | .travis.yml \ |
| 40 | contrib \ |
| 41 | debian \ |
| 42 | doc \ |
| 43 | doap.rdf \ |
| 44 | sonar-project.properties \ |
| 45 | LICENSE \ |
| 46 | CHANGES \ |
| 47 | NOTICE |