7
7
# History:
8
8
# Usage:
9
9
# Reference:
10
+ # spaces and underscores https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_6.html
10
11
# Improve:
11
12
# Dependencies:
12
13
13
14
APPNAME = chicago95
14
- APPVERSION = 0.0.2beta
15
+ APPVERSION = 0.0.2
15
16
SRCDIR = $(CURDIR )
16
17
prefix = /usr
17
18
SYSCONFDIR = $(DESTDIR ) /etc
@@ -48,22 +49,41 @@ truebin :=$(shell which true)
48
49
uniqbin :=$(shell which uniq)
49
50
xargsbin :=$(shell which xargs)
50
51
52
+ use_underscores ?= NO
53
+
51
54
.PHONY : clean install install_files build_man uninstall list deplist deplist_opts
52
55
56
+ nullstring :=
57
+ space :=\ $(nullstring ) # end of the line
58
+ ifeq ($(use_underscores ) ,YES)
59
+ space = _
60
+ endif
61
+
62
+ all :
63
+ @${echobin} " No compilation for this project."
64
+
53
65
list :
54
66
@$(MAKE ) -pRrq -f $(lastword $(MAKEFILE_LIST ) ) : 2> /dev/null | ${awkbin} -v RS= -F: ' /^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | ${sortbin} | ${grepbin} -E -v -e ' ^[^[:alnum:]]' -e ' ^$@$$'
55
67
56
68
install : install_all
57
69
58
- install_all : install_cursors install_doc install_fonts install_greeter install_gtk_theme install_icons install_login_sound install_boot_screen
70
+ install_all : install_cursors install_doc install_fonts install_gtk_theme install_icons install_sounds install_login_sound install_boot_screen install_plus
59
71
60
72
install_cursors :
61
- ${installbin} -dm0755 ${ICONSDIR} /Chicago95_Cursor_Black \
73
+ ${installbin} -dm0755 \
74
+ ${ICONSDIR} /Chicago95$(space ) Animated$(space ) Hourglass$(space ) Cursors \
75
+ ${ICONSDIR} /Chicago95_Cursor_Black \
62
76
${ICONSDIR} /Chicago95_Cursor_White \
63
- ${ICONSDIR} /Chicago95_Emerald
77
+ ${ICONSDIR} /Chicago95_Emerald \
78
+ ${ICONSDIR} /Chicago95$(space ) Standard$(space ) Cursors$(space ) Black \
79
+ ${ICONSDIR} /Chicago95$(space ) Standard$(space ) Cursors \
80
+
81
+ ${cpbin} -pr ${SRCDIR}/Cursors/Chicago95\ Animated\ Hourglass\ Cursors/* ${ICONSDIR}/Chicago95$(space)Animated$(space)Hourglass$(space)Cursors
64
82
${cpbin} -pr ${SRCDIR}/Cursors/Chicago95_Cursor_Black/* ${ICONSDIR}/Chicago95_Cursor_Black
65
83
${cpbin} -pr ${SRCDIR}/Cursors/Chicago95_Cursor_White/* ${ICONSDIR}/Chicago95_Cursor_White
66
84
${cpbin} -pr ${SRCDIR}/Cursors/Chicago95_Emerald/* ${ICONSDIR}/Chicago95_Emerald
85
+ ${cpbin} -pr ${SRCDIR}/Cursors/Chicago95\ Standard\ Cursors/* ${ICONSDIR}/Chicago95$(space)Standard$(space)Cursors
86
+ ${cpbin} -pr ${SRCDIR}/Cursors/Chicago95\ Standard\ Cursors\ Black/* ${ICONSDIR}/Chicago95$(space)Standard$(space)Cursors$(space)Black
67
87
${findbin} ${ICONSDIR}/Chicago95* ! -type d -exec ${chmodbin} 0644 {} +
68
88
69
89
install_doc :
@@ -77,16 +97,12 @@ install_fonts:
77
97
${installbin} -dm0755 ${FONTDIR} /truetype
78
98
${installbin} -m0644 -t ${FONTDIR} /truetype ${SRCDIR} /Fonts/vga_font/* ttf
79
99
80
- install_greeter :
81
- ${installbin} -dm0755 ${SHAREDIR} /lightdm-webkit/themes
82
- ${cpbin} -pr ${SRCDIR} /Lightdm/Chicago95 ${SHAREDIR} /lightdm-webkit/themes/
83
- ${findbin} ${SHAREDIR} /lightdm-webkit/themes/Chicago95 ! -type d -exec ${chmodbin} 0644 {} +
84
-
85
100
install_gtk_theme :
86
101
${installbin} -dm0755 ${THEMESDIR}
87
102
${cpbin} -pr ${SRCDIR} /Theme/Chicago95 ${THEMESDIR}
88
103
${rmbin} -r ${THEMESDIR} /Chicago95/misc
89
- ${findbin} ${THEMESDIR} /Chicago95 ! -type d -exec ${chmodbin} 0644 {} +
104
+ ${findbin} ${THEMESDIR} /Chicago95 ! -type d -exec ${chmodbin} 0644 {} + || :
105
+ ${findbin} ${THEMESDIR} /Chicago95 -type d -exec ${chmodbin} 0755 {} + || :
90
106
@# xfce4-terminal theme
91
107
${installbin} -dm0755 ${SHAREDIR} /xfce4/terminal/colorschemes
92
108
${installbin} -m0644 -t ${SHAREDIR} /xfce4/terminal/colorschemes ${SRCDIR} /Extras/Chicago95.theme
@@ -96,30 +112,49 @@ install_icons:
96
112
${cpbin} -pr ${SRCDIR} /Icons/* ${ICONSDIR} /
97
113
${findbin} ${ICONSDIR} /Chicago95* ! -type d ! -type l -exec ${chmodbin} 0644 {} +
98
114
115
+ install_sounds :
116
+ ${installbin} -dm0755 ${SOUNDSDIR} /Chicago95/stereo
117
+ ${installbin} -m0644 -t ${SOUNDSDIR} /Chicago95/stereo ${SRCDIR} /sounds/Chicago95/stereo/*
118
+ ${installbin} -m0644 -t ${SOUNDSDIR} /Chicago95 ${SRCDIR} /sounds/Chicago95/index.theme
119
+
99
120
install_login_sound :
100
- ${installbin} -dm0755 ${SOUNDSDIR} /Chicago95
101
- # pending addition of debian/chicago95-startup.desktop to source ${XDGAUTODIR}
121
+ ${installbin} -dm0755 ${SOUNDSDIR} /Chicago95 ${XDGAUTODIR}
102
122
${installbin} -m0644 ${SRCDIR} /Extras/Microsoft\ Windows\ 95\ Startup\ Sound.ogg ${SOUNDSDIR} /Chicago95/startup.ogg
103
- # pending addition of debian/chicago95-startup.desktop to source ${XDGAUTODIR}
104
- # ${installbin} -m0644 -t ${XDGAUTODIR} ${SRCDIR}/Extras/chicago95-startup.desktop
123
+ ${installbin} -m0644 -t ${XDGAUTODIR} ${SRCDIR} /sounds/chicago95-startup.desktop
105
124
106
125
install_boot_screen :
107
126
${installbin} -dm0755 ${SHAREDIR} /plymouth/themes/Chicago95 ${SHAREDIR} /plymouth/themes/RetroTux
108
127
${installbin} -m0644 -t ${SHAREDIR} /plymouth/themes/Chicago95 ${SRCDIR} /Plymouth/Chicago95/*
109
128
${installbin} -m0644 -t ${SHAREDIR} /plymouth/themes/RetroTux ${SRCDIR} /Plymouth/RetroTux/*
110
129
130
+ install_plus :
131
+ ${installbin} -dm0755 ${SHAREDIR} /chicago95-theme-plus/assets ${BINDIR} ${LIBEXECDIR} /chicago95-theme-plus ${DOCDIR} /demo
132
+ ${installbin} -m0755 -t ${SHAREDIR} /chicago95-theme-plus/assets ${SRCDIR} /Plus/assets/*
133
+ ${installbin} -m0755 ${SRCDIR} /Plus/ChicagoPlus.py ${BINDIR} /ChicagoPlus
134
+ ${installbin} -m0755 ${SRCDIR} /Plus/PlusGUI.py ${BINDIR} /PlusGUI
135
+ ${installbin} -m0644 -t ${LIBEXECDIR} /chicago95-theme-plus ${SRCDIR} /Plus/pluslib.py ${SRCDIR} /Plus/plus.glade
136
+ ${installbin} -m0644 ${SRCDIR} /Plus/README.MD ${DOCDIR} /Plus-README.MD
137
+ ${installbin} -m0644 -t ${DOCDIR} ${SRCDIR} /Plus/* .png
138
+ ${installbin} -m0644 -t ${DOCDIR} /demo ${SRCDIR} /Plus/demo/*
139
+
111
140
uninstall :
112
- ${rmbin} -r ${ICONSDIR} /Chicago95_Cursor_Black \
141
+ ${rmbin} -rf \
142
+ ${ICONSDIR} /Chicago95$(space ) Animated$(space ) Hourglass$(space ) Cursors \
143
+ ${ICONSDIR} /Chicago95_Cursor_Black \
113
144
${ICONSDIR} /Chicago95_Cursor_White \
114
145
${ICONSDIR} /Chicago95_Emerald \
146
+ ${ICONSDIR} /Chicago95$(space ) Standard$(space ) Cursors$(space ) Black \
147
+ ${ICONSDIR} /Chicago95$(space ) Standard$(space ) Cursors \
115
148
${DOCDIR} \
116
149
${FONTDIR} /truetype/LessPerfectDOSVGA.ttf \
117
150
${FONTDIR} /truetype/MorePerfectDOSVGA.ttf \
118
151
${SHAREDIR} /lightdm-webkit/themes/Chicago95 \
119
152
${THEMESDIR} /Chicago95 ${SHAREDIR} /xfce4/terminal/colorschemes/Chicago95.theme \
120
153
${ICONSDIR} /Chicago95 ${ICONSDIR} /Chicago95-tux \
121
154
${SOUNDSDIR} /Chicago95 \
122
- ${SHAREDIR} /plymouth/themes/Chicago95 ${SHAREDIR} /plymouth/themes/RetroTux 2> /dev/null || :
155
+ ${LIBEXECDIR} /chicago95-theme-plus ${BINDIR} /ChicagoPlus ${BINDIR} /PlusGUI \
156
+ ${SHAREDIR} /chicago95-theme-plus \
157
+ ${SHAREDIR} /plymouth/themes/Chicago95 ${SHAREDIR} /plymouth/themes/RetroTux
123
158
124
159
clean :
125
160
-@${echobin} " target $@ not implemented yet! Gotta say unh." && ${falsebin}
0 commit comments