Imported Upstream version 0.16
[platform/upstream/chrpath.git] / Makefile.am
1 SUBDIRS = testsuite deb
2
3 docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
4
5 doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
6
7 bin_PROGRAMS = chrpath
8
9 man_MANS = chrpath.1
10
11 debs:
12         fakeroot debian/rules binary
13
14 chrpath_SOURCES = \
15         chrpath.c       \
16         killrpath.c     \
17         main.c          \
18         elf.c           \
19         protos.h
20
21 EXTRA_DIST = $(man_MANS)
22
23 config-updates:
24         GET 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' > config.guess
25         GET 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' > config.sub
26
27 CLEANFILES = *.bb *.bbg *.da *.gcov testsuite/*.bb testsuite/*.bbg
28 coverage: all check
29         for f in *.c; do gcov $$f; done