Imported Upstream version 2.0.0
[platform/upstream/fdupes.git] / Makefile.am
1 bin_PROGRAMS = fdupes
2
3 if NO_NCURSES
4 fdupes_SOURCES = fdupes.c\
5  fdupes.h\
6  errormsg.c\
7  errormsg.h\
8  dir.c\
9  dir.h\
10  log.c\
11  log.h\
12  fmatch.c\
13  fmatch.h\
14  sigint.c\
15  sigint.h\
16  flags.c\
17  flags.h\
18  mbstowcs_escape_invalid.c\
19  mbstowcs_escape_invalid.h\
20  positive_wcwidth.c\
21  positive_wcwidth.h\
22  md5/md5.c\
23  md5/md5.h
24 dist_man1_MANS = fdupes.1
25
26 else
27 fdupes_SOURCES = fdupes.c\
28  fdupes.h\
29  filegroup.h\
30  ncurses-commands.c\
31  ncurses-commands.h\
32  ncurses-getcommand.c\
33  ncurses-getcommand.h\
34  ncurses-interface.c\
35  ncurses-interface.h\
36  ncurses-print.c\
37  ncurses-print.h\
38  ncurses-prompt.c\
39  ncurses-prompt.h\
40  ncurses-status.c\
41  ncurses-status.h\
42  commandidentifier.c\
43  commandidentifier.h\
44  errormsg.c\
45  errormsg.h\
46  wcs.c\
47  wcs.h\
48  dir.c\
49  dir.h\
50  log.c\
51  log.h\
52  fmatch.c\
53  fmatch.h\
54  sigint.c\
55  sigint.h\
56  flags.c\
57  flags.h\
58  mbstowcs_escape_invalid.c\
59  mbstowcs_escape_invalid.h\
60  positive_wcwidth.c\
61  positive_wcwidth.h\
62  md5/md5.c\
63  md5/md5.h
64 dist_man1_MANS = fdupes.1
65 dist_man7_MANS = fdupes-help.7
66
67 endif
68
69 EXTRA_DIST = testdir CHANGES CONTRIBUTORS
70
71 dist-hook:
72         if [ -f $(top_srcdir)/INSTALL.enduser ]; then chmod u+w $(distdir)/INSTALL; \cp -f $(top_srcdir)/INSTALL.enduser $(distdir)/INSTALL; fi