forked from bagder/spindly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
43 lines (36 loc) · 1.24 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
###########################################################################
# Project _ _ _
# ___ _ __ (_)_ __ __| | |_ _
# / __| '_ \| | '_ \ / _` | | | | |
# \__ \ |_) | | | | | (_| | | |_| |
# |___/ .__/|_|_| |_|\__,_|_|\__, |
# |_| |___/
#
# Copyright (C) 2012, Daniel Stenberg <[email protected]>
#
# This software is licensed as described in the file LICENSE, which you
# should have received as part of this distribution. The terms are also
# available at http://spindly.haxx.se/license.html
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
###########################################################################
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src include demo
DIST_SUBDIRS = $(SUBDIRS) doc tests bin
EXTRA_DIST = TODO README LICENSE
ACLOCAL_AMFLAGS = -I m4
.PHONY: bin
check:
@(cd tests; $(MAKE) run)
bin:
@(cd bin; $(MAKE))
# a hook to rename [file].dist to [file]
dist-hook:
find $(distdir) -name "*.dist" -exec rm {} \;
(distit=`find $(srcdir) -name "*.dist"`; \
for file in $$distit; do \
strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
cp $$file $(distdir)$$strip; \
done)