Commit d278edcc5e603ef56d67b2e4073d239855f597e7

Authored by Silvan Calarco
1 parent 066708419c
Exists in master

Install wallpapers in standard directory, no longer in /opt/kde4/share/wallpapers

Showing 1 changed file with 6 additions and 6 deletions Inline Diff

1 # Makefile for openmamba-desktop-kde4 1 # Makefile for desktop-base-kde
2 # Copyright (C) 2004-2016 by Silvan Calarco <silvan.calarco@mambasoft.it> 2 # Copyright (C) 2004-2017 by Silvan Calarco <silvan.calarco@mambasoft.it>
3 # Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com> 3 # Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@gmail.com>
4 4
5 include VERSION 5 include VERSION
6 6
7 PACKAGE = desktop-base-kde4 7 PACKAGE = desktop-base-kde
8 8
9 DISTROID = openmamba 9 DISTROID = openmamba
10 10
11 RPM_VENDOR = openmamba 11 RPM_VENDOR = openmamba
12 RPM_DISTRIBUTION = openmamba 12 RPM_DISTRIBUTION = openmamba
13 RPM_DISTROEXT = mamba 13 RPM_DISTROEXT = mamba
14 14
15 SYSCONFIGFILE = netsrpminstall 15 SYSCONFIGFILE = netsrpminstall
16 16
17 WALLPAPERS = openmamba_Bamboo,openmamba_Circles 17 WALLPAPERS = openmamba_Bamboo,openmamba_Circles
18 DEFAULT_WALLPAPER = openmamba_Circles 18 DEFAULT_WALLPAPER = openmamba_Circles
19 DESKTOP_DESKTOPTHEME = openmamba 19 DESKTOP_DESKTOPTHEME = openmamba
20 20
21 #SCREENSAVER = $(DISTROid).desktop 21 #SCREENSAVER = $(DISTROid).desktop
22 SCREENSAVER = 22 SCREENSAVER =
23 23
24 DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z) 24 DISTROid = $(shell echo $(DISTROID) | tr A-Z a-z)
25 DISTROICON = $(DISTROid) 25 DISTROICON = $(DISTROid)
26 26
27 DESTDIR = 27 DESTDIR =
28 28
29 prefix = /usr 29 prefix = /usr
30 exec_prefix = ${prefix} 30 exec_prefix = ${prefix}
31 sysconfdir = /etc 31 sysconfdir = /etc
32 sbindir = ${exec_prefix}/sbin 32 sbindir = ${exec_prefix}/sbin
33 bindir = ${exec_prefix}/bin 33 bindir = ${exec_prefix}/bin
34 datadir = ${prefix}/share 34 datadir = ${prefix}/share
35 initrddir = ${sysconfdir}/rc.d/init.d 35 initrddir = ${sysconfdir}/rc.d/init.d
36 mandir = ${prefix}/usr/share/man 36 mandir = ${prefix}/usr/share/man
37 sysconfigdir= ${sysconfdir}/sysconfig 37 sysconfigdir= ${sysconfdir}/sysconfig
38 mambabasedatadir = ${datadir}/openmamba/mambabase 38 mambabasedatadir = ${datadir}/openmamba/mambabase
39 mambawelcomedatadir = ${datadir}/openmamba/mambawelcome 39 mambawelcomedatadir = ${datadir}/openmamba/mambawelcome
40 bootrecoverdatadir = ${datadir}/openmamba/bootrecover 40 bootrecoverdatadir = ${datadir}/openmamba/bootrecover
41 iconsdir = ${datadir}/icons/hicolor 41 iconsdir = ${datadir}/icons/hicolor
42 kdeprefixdir = $(shell kde4-config --prefix) 42 kdeprefixdir = $(shell kde4-config --prefix)
43 kdedatadir = ${kdeprefixdir}/share 43 kdedatadir = ${kdeprefixdir}/share
44 kde5datadir = ${prefix}/share 44 kde5datadir = ${prefix}/share
45 kdebindir = ${kdeprefixdir}/bin 45 kdebindir = ${kdeprefixdir}/bin
46 kdeautostartdir = ${kdedatadir}/autostart 46 kdeautostartdir = ${kdedatadir}/autostart
47 kdeconfigdir = ${kdedatadir}/config 47 kdeconfigdir = ${kdedatadir}/config
48 kde5configdir = ${sysconfdir}/xdg 48 kde5configdir = ${sysconfdir}/xdg
49 kdewallpapersdir = ${kdedatadir}/wallpapers 49 kde5wallpapersdir = ${datadir}/wallpapers
50 kdeappsdir = ${kdedatadir}/apps 50 kdeappsdir = ${kdedatadir}/apps
51 kde5appsdir = ${prefix}/share 51 kde5appsdir = ${prefix}/share
52 localesdir = ${kdedatadir}/locale 52 localesdir = ${kdedatadir}/locale
53 53
54 xdg_appsdir = ${datadir}/applications 54 xdg_appsdir = ${datadir}/applications
55 xdg_directorydir = ${datadir}/desktop-directories 55 xdg_directorydir = ${datadir}/desktop-directories
56 xdg_menudir = ${sysconfdir}/xdg/menus 56 xdg_menudir = ${sysconfdir}/xdg/menus
57 xdg_mergedmenudir = $(xdg_menudir)/applications-merged 57 xdg_mergedmenudir = $(xdg_menudir)/applications-merged
58 58
59 distrorootdir = ${datadir}/$(DISTROid) 59 distrorootdir = ${datadir}/$(DISTROid)
60 distrobindir = ${distrorootdir}/bin 60 distrobindir = ${distrorootdir}/bin
61 distrosrpmsdir = ${distrorootdir}/SRPMS 61 distrosrpmsdir = ${distrorootdir}/SRPMS
62 distrokdedir = ${distrorootdir}/kde 62 distrokdedir = ${distrorootdir}/kde
63 srcdir = . 63 srcdir = .
64 64
65 INSTALL = /usr/bin/install 65 INSTALL = /usr/bin/install
66 INSTALL_PROGRAM = ${INSTALL} -m 755 66 INSTALL_PROGRAM = ${INSTALL} -m 755
67 INSTALL_DATA = ${INSTALL} -m 644 67 INSTALL_DATA = ${INSTALL} -m 644
68 INSTALL_DIR = ${INSTALL} -d -m 755 68 INSTALL_DIR = ${INSTALL} -d -m 755
69 INSTALL_SCRIPT = ${INSTALL_PROGRAM} 69 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
70 70
71 #pck_srpms = flashplugin jre msttcorefonts win32codecs 71 #pck_srpms = flashplugin jre msttcorefonts win32codecs
72 pck_srpms = flashplugin msttcorefonts win32codecs skype 72 pck_srpms = flashplugin msttcorefonts win32codecs skype
73 73
74 pck_infiles := $(wildcard kde/config/*.in \ 74 pck_infiles := $(wildcard kde/config/*.in \
75 kde/scripts/*.in \ 75 kde/scripts/*.in \
76 kde/wallpapers/*.in \ 76 kde/wallpapers/*.in \
77 kde/apps/plasma-desktop/updates/*.in \ 77 kde/apps/plasma-desktop/updates/*.in \
78 SRPMS/*/*.in) 78 SRPMS/*/*.in)
79 pck_sysconfigfile := distroutils.sysconfig 79 pck_sysconfigfile := distroutils.sysconfig
80 80
81 distdir = $(PACKAGE)-$(VERSION) 81 distdir = $(PACKAGE)-$(VERSION)
82 dist_archive = $(distdir).tar.bz2 82 dist_archive = $(distdir).tar.bz2
83 83
84 pck_catalogs := $(wildcard mambabase/po/*.po) 84 pck_catalogs := $(wildcard mambabase/po/*.po)
85 pck_catalogs1 := $(wildcard mambawelcome/po/*.po) 85 pck_catalogs1 := $(wildcard mambawelcome/po/*.po)
86 pck_catalogs2 := $(wildcard bootrecover/po/*.po) 86 pck_catalogs2 := $(wildcard bootrecover/po/*.po)
87 87
88 .SUFFIXES: 88 .SUFFIXES:
89 .SUFFIXES: .in .po .mo 89 .SUFFIXES: .in .po .mo
90 90
91 .in:; @echo "generating $@..."; \ 91 .in:; @echo "generating $@..."; \
92 sed "s,@distroID@,$(DISTROID),g;\ 92 sed "s,@distroID@,$(DISTROID),g;\
93 s,@distroid@,$(DISTROid),g;\ 93 s,@distroid@,$(DISTROid),g;\
94 s,@distroicon@,$(DISTROICON),g;\ 94 s,@distroicon@,$(DISTROICON),g;\
95 s,@distribution@,$(RPM_DISTRIBUTION),g;\ 95 s,@distribution@,$(RPM_DISTRIBUTION),g;\
96 s,@distroext@,$(RPM_DISTROEXT),g;\ 96 s,@distroext@,$(RPM_DISTROEXT),g;\
97 s,@vendor@,$(RPM_VENDOR),g;\ 97 s,@vendor@,$(RPM_VENDOR),g;\
98 s,@sysconfigfile@,$(SYSCONFIGFILE),g;\ 98 s,@sysconfigfile@,$(SYSCONFIGFILE),g;\
99 s,@datadir@,${datadir},g;\ 99 s,@datadir@,${datadir},g;\
100 s,@distrobindir@,$(distrobindir),g;\ 100 s,@distrobindir@,$(distrobindir),g;\
101 s,@distrokdedir@,$(distrokdedir),g;\ 101 s,@distrokdedir@,$(distrokdedir),g;\
102 s,@distrosrpmsdir@,$(distrosrpmsdir),g;\ 102 s,@distrosrpmsdir@,$(distrosrpmsdir),g;\
103 s,@wallpaper@,$(DEFAULT_WALLPAPER),g;\ 103 s,@wallpaper@,$(DEFAULT_WALLPAPER),g;\
104 s,@desktoptheme@,$(DEFAULT_DESKTOPTHEME),g;\ 104 s,@desktoptheme@,$(DEFAULT_DESKTOPTHEME),g;\
105 s,@screensaver@,${SCREENSAVER},g;" $< > $@ 105 s,@screensaver@,${SCREENSAVER},g;" $< > $@
106 106
107 all: dist-update locales wallpapers 107 all: dist-update locales wallpapers
108 108
109 dist-update: $(pck_infiles:.in=) 109 dist-update: $(pck_infiles:.in=)
110 110
111 .po.mo:; msgfmt $< -o $@ 111 .po.mo:; msgfmt $< -o $@
112 112
113 locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo) $(pck_catalogs2:.po=.mo) 113 locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo) $(pck_catalogs2:.po=.mo)
114 114
115 wallpapers: 115 wallpapers:
116 @for w in openmamba_Circles; do \ 116 @for w in openmamba_Circles; do \
117 mkdir -p kde/wallpapers/$${w}/contents/images; \ 117 mkdir -p kde/wallpapers/$${w}/contents/images; \
118 convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \ 118 convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \
119 for s in 1280x800 1440x900 1920x1200; do \ 119 for s in 1280x800 1440x900 1920x1200; do \
120 convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize $${s/x*} \ 120 convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize $${s/x*} \
121 -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \ 121 -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
122 done; \ 122 done; \
123 for s in 1024x768 1280x1024 1600x1200; do \ 123 for s in 1024x768 1280x1024 1600x1200; do \
124 convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize x$${s/*x} \ 124 convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize x$${s/*x} \
125 -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \ 125 -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
126 done; done 126 done; done
127 127
128 install-kde-distro-addons: dist-update 128 install-kde-distro-addons: dist-update
129 @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/pam.d 129 @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/pam.d
130 @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/sudoers.d/ 130 @$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/sudoers.d/
131 @$(INSTALL_DIR) $(DESTDIR)$(bindir) 131 @$(INSTALL_DIR) $(DESTDIR)$(bindir)
132 @$(INSTALL_DIR) $(DESTDIR)$(datadir) 132 @$(INSTALL_DIR) $(DESTDIR)$(datadir)
133 @$(INSTALL_DIR) $(DESTDIR)$(sbindir) 133 @$(INSTALL_DIR) $(DESTDIR)$(sbindir)
134 @$(INSTALL_DIR) $(DESTDIR)$(kde5datadir) 134 @$(INSTALL_DIR) $(DESTDIR)$(kde5datadir)
135 @$(INSTALL_DIR) $(DESTDIR)$(kdeautostartdir) 135 @$(INSTALL_DIR) $(DESTDIR)$(kdeautostartdir)
136 @$(INSTALL_DIR) $(DESTDIR)$(kdebindir) 136 @$(INSTALL_DIR) $(DESTDIR)$(kdebindir)
137 @$(INSTALL_DIR) $(DESTDIR)$(kdeconfigdir) 137 @$(INSTALL_DIR) $(DESTDIR)$(kdeconfigdir)
138 @$(INSTALL_DIR) $(DESTDIR)$(kde5configdir) 138 @$(INSTALL_DIR) $(DESTDIR)$(kde5configdir)
139 @$(INSTALL_DIR) $(DESTDIR)$(kdewallpapersdir) 139 @$(INSTALL_DIR) $(DESTDIR)$(kde5wallpapersdir)
140 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir) 140 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)
141 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/color-schemes 141 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/color-schemes
142 @$(INSTALL_DIR) $(DESTDIR)$(kde5appsdir)/color-schemes 142 @$(INSTALL_DIR) $(DESTDIR)$(kde5appsdir)/color-schemes
143 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/konqueror/profiles 143 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/konqueror/profiles
144 @$(INSTALL_DIR) $(DESTDIR)$(kde5appsdir)/konqueror/profiles 144 @$(INSTALL_DIR) $(DESTDIR)$(kde5appsdir)/konqueror/profiles
145 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/konsole 145 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/konsole
146 @$(INSTALL_DIR) $(DESTDIR)$(kde5appsdir)/konsole 146 @$(INSTALL_DIR) $(DESTDIR)$(kde5appsdir)/konsole
147 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/plasma-desktop/init 147 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/plasma-desktop/init
148 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/plasma-desktop/updates 148 @$(INSTALL_DIR) $(DESTDIR)$(kdeappsdir)/plasma-desktop/updates
149 $(INSTALL_DATA) etc/pam.d/kde $(DESTDIR)$(sysconfdir)/pam.d/ 149 $(INSTALL_DATA) etc/pam.d/kde $(DESTDIR)$(sysconfdir)/pam.d/
150 $(INSTALL_DATA) etc/pam.d/kde-np $(DESTDIR)$(sysconfdir)/pam.d/ 150 $(INSTALL_DATA) etc/pam.d/kde-np $(DESTDIR)$(sysconfdir)/pam.d/
151 $(INSTALL_DATA) etc/sudoers.d/kde4 $(DESTDIR)$(sysconfdir)/sudoers.d/kde4 151 $(INSTALL_DATA) etc/sudoers.d/kde4 $(DESTDIR)$(sysconfdir)/sudoers.d/kde4
152 $(INSTALL_DATA) kde/apps/color-schemes/OpenmambaGreen.colors $(DESTDIR)$(kde5appsdir)/color-schemes/OpenmambaGreen.colors 152 $(INSTALL_DATA) kde/apps/color-schemes/OpenmambaGreen.colors $(DESTDIR)$(kde5appsdir)/color-schemes/OpenmambaGreen.colors
153 $(INSTALL_DATA) kde/apps/color-schemes/OpenmambaGreen.colors $(DESTDIR)$(kdeappsdir)/color-schemes/OpenmambaGreen.colors 153 $(INSTALL_DATA) kde/apps/color-schemes/OpenmambaGreen.colors $(DESTDIR)$(kdeappsdir)/color-schemes/OpenmambaGreen.colors
154 $(INSTALL_DATA) kde/apps/konqueror/profiles/resourcesbrowsing $(DESTDIR)$(kde5appsdir)/konqueror/profiles/resourcesbrowsing 154 $(INSTALL_DATA) kde/apps/konqueror/profiles/resourcesbrowsing $(DESTDIR)$(kde5appsdir)/konqueror/profiles/resourcesbrowsing
155 $(INSTALL_DATA) kde/apps/konqueror/profiles/resourcesbrowsing $(DESTDIR)$(kdeappsdir)/konqueror/profiles/resourcesbrowsing 155 $(INSTALL_DATA) kde/apps/konqueror/profiles/resourcesbrowsing $(DESTDIR)$(kdeappsdir)/konqueror/profiles/resourcesbrowsing
156 $(INSTALL_DATA) kde/apps/konsole/openmamba.profile $(DESTDIR)$(kde5appsdir)/konsole/openmamba.profile 156 $(INSTALL_DATA) kde/apps/konsole/openmamba.profile $(DESTDIR)$(kde5appsdir)/konsole/openmamba.profile
157 $(INSTALL_DATA) kde/apps/konsole/openmamba.profile $(DESTDIR)$(kdeappsdir)/konsole/openmamba.profile 157 $(INSTALL_DATA) kde/apps/konsole/openmamba.profile $(DESTDIR)$(kdeappsdir)/konsole/openmamba.profile
158 $(INSTALL_DATA) kde/apps/plasma-desktop/init/10-openmamba-default-setup.js $(DESTDIR)$(kdeappsdir)/plasma-desktop/init/10-openmamba-default-setup.js 158 $(INSTALL_DATA) kde/apps/plasma-desktop/init/10-openmamba-default-setup.js $(DESTDIR)$(kdeappsdir)/plasma-desktop/init/10-openmamba-default-setup.js
159 $(INSTALL_DATA) kde/apps/plasma-desktop/updates/10-openmamba-theme.js $(DESTDIR)$(kdeappsdir)/plasma-desktop/updates/10-openmamba-theme.js 159 $(INSTALL_DATA) kde/apps/plasma-desktop/updates/10-openmamba-theme.js $(DESTDIR)$(kdeappsdir)/plasma-desktop/updates/10-openmamba-theme.js
160 $(INSTALL_DATA) kde/autostart/mambatray.desktop $(DESTDIR)$(kdeautostartdir)/mambatray.desktop 160 $(INSTALL_DATA) kde/autostart/mambatray.desktop $(DESTDIR)$(kdeautostartdir)/mambatray.desktop
161 $(INSTALL_DATA) kde/autostart/kickoff-autoupdate.desktop $(DESTDIR)$(kdeautostartdir)/kickoff-autoupdate.desktop 161 $(INSTALL_DATA) kde/autostart/kickoff-autoupdate.desktop $(DESTDIR)$(kdeautostartdir)/kickoff-autoupdate.desktop
162 $(INSTALL_DATA) kde/autostart/kde5-migrate-user-conf.desktop $(DESTDIR)$(kdeautostartdir)/kde5-migrate-user-conf.desktop 162 $(INSTALL_DATA) kde/autostart/kde5-migrate-user-conf.desktop $(DESTDIR)$(kdeautostartdir)/kde5-migrate-user-conf.desktop
163 $(INSTALL_DATA) kde/config/kcmfonts $(DESTDIR)$(kde5configdir)/kcmfonts 163 $(INSTALL_DATA) kde/config/kcmfonts $(DESTDIR)$(kde5configdir)/kcmfonts
164 $(INSTALL_DATA) kde/config/kcmfonts $(DESTDIR)$(kde5configdir)/kcmfonts 164 $(INSTALL_DATA) kde/config/kcmfonts $(DESTDIR)$(kde5configdir)/kcmfonts
165 $(INSTALL_DATA) kde/config/kcminputrc $(DESTDIR)$(kde5configdir)/kcminputrc 165 $(INSTALL_DATA) kde/config/kcminputrc $(DESTDIR)$(kde5configdir)/kcminputrc
166 $(INSTALL_DATA) kde/config/kdeglobals $(DESTDIR)$(kde5configdir)/kdeglobals 166 $(INSTALL_DATA) kde/config/kdeglobals $(DESTDIR)$(kde5configdir)/kdeglobals
167 $(INSTALL_DATA) kde/config/kdesktoprc $(DESTDIR)$(kde5configdir)/kdesktoprc 167 $(INSTALL_DATA) kde/config/kdesktoprc $(DESTDIR)$(kde5configdir)/kdesktoprc
168 $(INSTALL_DATA) kde/config/kdesurc $(DESTDIR)$(kde5configdir)/kdesurc 168 $(INSTALL_DATA) kde/config/kdesurc $(DESTDIR)$(kde5configdir)/kdesurc
169 $(INSTALL_DATA) kde/config/kglobalshortcutsrc $(DESTDIR)$(kde5configdir)/kglobalshortcutsrc 169 $(INSTALL_DATA) kde/config/kglobalshortcutsrc $(DESTDIR)$(kde5configdir)/kglobalshortcutsrc
170 $(INSTALL_DATA) kde/config/kickoffrc $(DESTDIR)$(kde5configdir)/kickoffrc 170 $(INSTALL_DATA) kde/config/kickoffrc $(DESTDIR)$(kde5configdir)/kickoffrc
171 $(INSTALL_DATA) kde/config/kmilodrc $(DESTDIR)$(kde5configdir)/kmilodrc 171 $(INSTALL_DATA) kde/config/kmilodrc $(DESTDIR)$(kde5configdir)/kmilodrc
172 $(INSTALL_DATA) kde/config/kmixrc $(DESTDIR)$(kde5configdir)/kmixrc 172 $(INSTALL_DATA) kde/config/kmixrc $(DESTDIR)$(kde5configdir)/kmixrc
173 $(INSTALL_DATA) kde/config/konsolerc $(DESTDIR)$(kde5configdir)/konsolerc 173 $(INSTALL_DATA) kde/config/konsolerc $(DESTDIR)$(kde5configdir)/konsolerc
174 $(INSTALL_DATA) kde/config/kwalletrc $(DESTDIR)$(kde5configdir)/kwalletrc 174 $(INSTALL_DATA) kde/config/kwalletrc $(DESTDIR)$(kde5configdir)/kwalletrc
175 $(INSTALL_DATA) kde/config/kwinrc $(DESTDIR)$(kde5configdir)/kwinrc 175 $(INSTALL_DATA) kde/config/kwinrc $(DESTDIR)$(kde5configdir)/kwinrc
176 $(INSTALL_DATA) kde/config/nepomukserverrc $(DESTDIR)$(kde5configdir)/nepomukserverrc 176 $(INSTALL_DATA) kde/config/nepomukserverrc $(DESTDIR)$(kde5configdir)/nepomukserverrc
177 $(INSTALL_DATA) kde/config/oxygenrc $(DESTDIR)$(kde5configdir)/oxygenrc 177 $(INSTALL_DATA) kde/config/oxygenrc $(DESTDIR)$(kde5configdir)/oxygenrc
178 $(INSTALL_DATA) kde/config/plasma-desktop-appletsrc $(DESTDIR)$(kde5configdir)/plasma-desktop-appletsrc 178 $(INSTALL_DATA) kde/config/plasma-desktop-appletsrc $(DESTDIR)$(kde5configdir)/plasma-desktop-appletsrc
179 $(INSTALL_DATA) kde/config/plasma-desktoprc $(DESTDIR)$(kde5configdir)/plasma-desktoprc 179 $(INSTALL_DATA) kde/config/plasma-desktoprc $(DESTDIR)$(kde5configdir)/plasma-desktoprc
180 $(INSTALL_DATA) kde/config/powerdevilrc $(DESTDIR)$(kde5configdir)/powerdevilrc 180 $(INSTALL_DATA) kde/config/powerdevilrc $(DESTDIR)$(kde5configdir)/powerdevilrc
181 cp -a kde/wallpapers/{$(WALLPAPERS)} $(DESTDIR)$(kdewallpapersdir) 181 cp -a kde/wallpapers/{$(WALLPAPERS)} $(DESTDIR)$(kde5wallpapersdir)
182 cp -a kde/desktoptheme $(DESTDIR)$(kdeappsdir)/ 182 cp -a kde/desktoptheme $(DESTDIR)$(kdeappsdir)/
183 $(INSTALL_SCRIPT) bin/kickoffcfg $(DESTDIR)$(kdebindir)/kickoffcfg 183 $(INSTALL_SCRIPT) bin/kickoffcfg $(DESTDIR)$(kdebindir)/kickoffcfg
184 $(INSTALL_SCRIPT) bin/kde5-migrate-user-conf $(DESTDIR)$(bindir)/kde5-migrate-user-conf 184 $(INSTALL_SCRIPT) bin/kde5-migrate-user-conf $(DESTDIR)$(bindir)/kde5-migrate-user-conf
185 185
186 install-srpms: 186 install-srpms:
187 @$(INSTALL_DIR) $(DESTDIR)$(distrosrpmsdir) 187 @$(INSTALL_DIR) $(DESTDIR)$(distrosrpmsdir)
188 @$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir) 188 @$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
189 :> $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE) 189 :> $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE)
190 @$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir) 190 @$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
191 for pck in $(pck_srpms); do\ 191 for pck in $(pck_srpms); do\
192 rpmbuild -bs SRPMS/$$pck/$${pck}.spec \ 192 rpmbuild -bs SRPMS/$$pck/$${pck}.spec \
193 --define="_sourcedir `pwd`/SRPMS/$$pck" \ 193 --define="_sourcedir `pwd`/SRPMS/$$pck" \
194 --define="_srcrpmdir $(DESTDIR)$(distrosrpmsdir)" || exit 1;\ 194 --define="_srcrpmdir $(DESTDIR)$(distrosrpmsdir)" || exit 1;\
195 cat SRPMS/$$pck/$(pck_sysconfigfile) >> \ 195 cat SRPMS/$$pck/$(pck_sysconfigfile) >> \
196 $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE);\ 196 $(DESTDIR)$(sysconfigdir)/$(SYSCONFIGFILE);\
197 done 197 done
198 198
199 install-icons: 199 install-icons:
200 @for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \ 200 @for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
201 $(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \ 201 $(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \
202 done 202 done
203 203
204 install: $(pck_infiles:.in=) \ 204 install: $(pck_infiles:.in=) \
205 install-kde-distro-addons 205 install-kde-distro-addons
206 206
207 dist: clean 207 dist: clean
208 @git log > ChangeLog.git 208 @git log > ChangeLog.git
209 @mkdir /tmp/$(distdir) 209 @mkdir /tmp/$(distdir)
210 @cp -a * /tmp/$(distdir)/ 210 @cp -a * /tmp/$(distdir)/
211 @rm -f $(dist_archive);\ 211 @rm -f $(dist_archive);\
212 tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive) 212 tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
213 @rm -rf /tmp/$(distdir) 213 @rm -rf /tmp/$(distdir)
214 @echo "file \`$(dist_archive)' created" 214 @echo "file \`$(dist_archive)' created"
215 215
216 dist-rpm: dist 216 dist-rpm: dist
217 @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\ 217 @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
218 mv -f $(dist_archive) $$rpm_sourcedir;\ 218 mv -f $(dist_archive) $$rpm_sourcedir;\
219 echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'" 219 echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
220 220
221 clean: 221 clean:
222 rm -f $(dist_archive) 222 rm -f $(dist_archive)
223 rm -f $(patsubst %.in,%,$(pck_infiles)) 223 rm -f $(patsubst %.in,%,$(pck_infiles))
224 rm -rf kde/wallpapers/openmamba_Circles/contents 224 rm -rf kde/wallpapers/openmamba_Circles/contents
225 225