summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 065535ccbaa9bd4f2d0e79b0faa7903b21d079df (plain)
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
SUBDIRS = testsuite deb

docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)

doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README

bin_PROGRAMS = chrpath

man_MANS = chrpath.1

debs:
	fakeroot debian/rules binary

chrpath_SOURCES = \
	chrpath.c	\
	killrpath.c	\
	main.c		\
	elf.c		\
	protos.h

EXTRA_DIST = ChangeLog.usermap $(man_MANS)

CLEANFILES = *.bb *.bbg *.da *.gcov testsuite/*.bb testsuite/*.bbg
coverage: all check
	for f in *.c; do gcov $$f; done

# ChangeLog autogenerated from CVS log messages
#
# -b                     Show brach information
# --gmt                  Use GTM timezone, not local time
# --window 7200          Use a two hour window when grouping log messages
# --log-opts -d'...<now' Log everything from the given date
# --usermap ...          Make usernames with names/emails in given file
# --ignore ChangeLog     Don't log changes to the ChangeLog itself
CVS2CL = cvs2cl
log: ChangeLog.usermap
	$(CVS2CL) -b --gmt --log-opts "-d'2001-01-01< now'" --window 7200 \
		--usermap ChangeLog.usermap --ignore ChangeLog -f ChangeLog