Imported Upstream version 2.1.2
[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  md5/md5.c\
21  md5/md5.h
22 dist_man1_MANS = fdupes.1
23
24 else
25 fdupes_SOURCES = fdupes.c\
26  fdupes.h\
27  filegroup.h\
28  ncurses-commands.c\
29  ncurses-commands.h\
30  ncurses-getcommand.c\
31  ncurses-getcommand.h\
32  ncurses-interface.c\
33  ncurses-interface.h\
34  ncurses-print.c\
35  ncurses-print.h\
36  ncurses-prompt.c\
37  ncurses-prompt.h\
38  ncurses-status.c\
39  ncurses-status.h\
40  commandidentifier.c\
41  commandidentifier.h\
42  errormsg.c\
43  errormsg.h\
44  wcs.c\
45  wcs.h\
46  dir.c\
47  dir.h\
48  log.c\
49  log.h\
50  fmatch.c\
51  fmatch.h\
52  sigint.c\
53  sigint.h\
54  flags.c\
55  flags.h\
56  mbstowcs_escape_invalid.c\
57  mbstowcs_escape_invalid.h\
58  positive_wcwidth.c\
59  positive_wcwidth.h\
60  md5/md5.c\
61  md5/md5.h
62 dist_man1_MANS = fdupes.1
63 dist_man7_MANS = fdupes-help.7
64
65 endif
66
67 EXTRA_DIST = testdir CHANGES CONTRIBUTORS
68
69 dist-hook:
70         if [ -f $(top_srcdir)/INSTALL.enduser ]; then chmod u+w $(distdir)/INSTALL; \cp -f $(top_srcdir)/INSTALL.enduser $(distdir)/INSTALL; fi