-
Notifications
You must be signed in to change notification settings - Fork 45
/
Makefile.am
111 lines (98 loc) · 3.51 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
SUBDIRS = src/models/abradford/ src/models/spinsky src/models/financialrecipes/src src/models/financialrecipes/examples src/models/metaoptions/src src/models/metaoptions/tests src/common src/curses src/gtk man doc doc/html
appicondir = $(datadir)/pixmaps
appicon_DATA = icons/32x32/optionmatrix.xpm\
icons/32x32/optionmatrix_console.xpm
desktopdir = $(datadir)/applications
desktop_DATA = icons/optionmatrix.desktop\
icons/optionmatrix_console.desktop
icondir = $(datadir)/icons/hicolor/256x256/apps
icon_DATA = icons/256x256/optionmatrix.png\
icons/256x256/optionmatrix_console.png
icon128dir = $(datadir)/icons/hicolor/128x128/apps
icon128_DATA = icons/128x128/optionmatrix.png\
icons/128x128/optionmatrix_console.png
icon64dir = $(datadir)/icons/hicolor/64x64/apps
icon64_DATA = icons/64x64/optionmatrix.png\
icons/64x64/optionmatrix_console.png
icon48dir = $(datadir)/icons/hicolor/48x48/apps
icon48_DATA = icons/48x48/optionmatrix.png\
icons/48x48/optionmatrix_console.png
icon32dir = $(datadir)/icons/hicolor/32x32/apps
icon32_DATA = icons/32x32/optionmatrix.png\
icons/32x32/optionmatrix_console.png
EXTRA_DIST = \
README.md\
README.how_to_make_a_release\
icons/mac/README\
icons/mac/optionmatrix.icns\
icons/32x32/optionmatrix.xpm\
icons/32x32/optionmatrix_console.xpm\
icons/32x32/optionmatrix.png\
icons/32x32/optionmatrix_console.png\
icons/48x48/optionmatrix.png\
icons/48x48/optionmatrix_console.png\
icons/64x64/optionmatrix.png\
icons/64x64/optionmatrix_console.png\
icons/128x128/optionmatrix.png\
icons/128x128/optionmatrix_console.png\
icons/256x256/optionmatrix.png\
icons/256x256/optionmatrix_console.png\
icons/optionmatrix.desktop\
icons/optionmatrix_console.desktop\
icons/OptionMatrix.png\
icons/windows/README\
icons/windows/optionmatrix.ico\
icons/windows/optionmatrixdos.ico\
icons/windows/installer.ico\
icons/windows/C++.ico\
icons/windows/HTMLhelper.ico\
icons/windows/information.ico\
icons/windows/pdf.ico\
icons/windows/Tests.ico\
icons/windows/Website.ico\
HOWTO\
utils/tab.sh\
utils/apt-get.sh\
utils/yum.sh\
utils/dnf.sh\
utils/zypper.sh\
utils/README\
src/README\
src/models/metaoptions/tests/TESTSUITE.README\
src/models/metaoptions/AUTHORS\
src/models/metaoptions/ChangeLog\
src/models/financialrecipes/AUTHORS\
src/models/financialrecipes/ChangeLog\
src/models/financialrecipes/README
install: install-html install-pdf install-data
$(MKDIR_P) $(DESTDIR)$(bindir)
install src/curses/optionmatrix_console $(DESTDIR)$(bindir)
install src/gtk/optionmatrix $(DESTDIR)$(bindir)
private_images = \
src/gtk/images/10.png\
src/gtk/images/11.png\
src/gtk/images/1.png\
src/gtk/images/2.png\
src/gtk/images/3.png\
src/gtk/images/4.png\
src/gtk/images/5.png\
src/gtk/images/6.png\
src/gtk/images/7.png\
src/gtk/images/8.png\
src/gtk/images/9.png
install-icons:
for icon in $(private_images); do \
$(MKDIR_P) $(DESTDIR)$(pkgdatadir)/images/; \
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/images/; \
done
install-data-local: install-icons
# After you run 'sudo make uninstall' the command
# find /usr -name "optionmatrix*" -print 2>/dev/null
# should yield nothing. If you find installation files there could be a problem
# with this section.
uninstall-local:
rm -f $(DESTDIR)$(pkgdatadir)/images/*.png
rm -f $(DESTDIR)$(pkgdatadir)/*.glade
if test -d $(DESTDIR)${pkgdatadir}/images; then rmdir $(DESTDIR)${pkgdatadir}/images; fi
if test -d $(DESTDIR)${pkgdatadir}; then rmdir $(DESTDIR)${pkgdatadir}; fi
if test -d $(DESTDIR)$(docdir); then rmdir $(DESTDIR)$(docdir); fi