FPACKAGE = redmond-default-settings-trinity
VERSION = 5.03

WALLPAPER_DIR = $(DESTDIR)/usr/share/wallpapers
SOUNDS_DIR = $(DESTDIR)/usr/share/sounds
KICKER_DIR = $(DESTDIR)/usr/share/apps/kicker
KONQ_TILES_DIR = $(DESTDIR)/usr/share/apps/konqueror/tiles
TDM_THEME_DIR = $(DESTDIR)/opt/trinity/share/apps/tdm/themes/kubuntu-trinity
TDM_THEME_NO_USERLIST_DIR = $(DESTDIR)/opt/trinity/share/apps/tdm/themes/kubuntu-no-userlist-trinity
TDM_OVERRIDE = $(DESTDIR)/etc/default/tdm-trinity.d/
TDM_SETTINGS_DIR = $(DESTDIR)/etc/trinity/tdm/
KSPLASH_THEME_DIR = $(DESTDIR)/opt/trinity/share/apps/ksplash/Themes/kubuntu
SETTINGS_DIR = $(DESTDIR)/usr/share/redmond-default-settings-trinity
CURSOR_DIR = $(DESTDIR)/usr/share/icons/contrastlarge
SKELETON_DIR = $(DESTDIR)/etc/skel
DESKTOP_DIR = $(DESTDIR)/etc/skel/Desktop
KDESKEL_DIR = $(DESTDIR)/etc/skel/.trinity

build:

clean:

install:
	mkdir -p "$(TDM_SETTINGS_DIR)"
	install -m644 backgroundrc "$(TDM_SETTINGS_DIR)"
	install -m644 tdmdistrc "$(TDM_SETTINGS_DIR)"

	mkdir -p "$(WALLPAPER_DIR)"
	install -m644 artwork/kubuntu-wallpaper.png  "$(WALLPAPER_DIR)"
	install -m644 artwork/kubuntu-wallpaper.png.desktop  "$(WALLPAPER_DIR)"
	install -m644 artwork/kubuntu-wallpaper-alternate.jpg  "$(WALLPAPER_DIR)"
	install -m644 artwork/kubuntu-hardy-wallpaper.jpg  "$(WALLPAPER_DIR)"
	install -m644 artwork/enterprise-desktop.png "$(WALLPAPER_DIR)"

	mkdir -p "$(WALLPAPER_DIR)/Blue Curl"
	install -m644 artwork/intrepid_wallpapers/Blue_Curl/1024x768.jpg "$(WALLPAPER_DIR)/Blue Curl"
	install -m644 artwork/intrepid_wallpapers/Blue_Curl/1280x1024.jpg "$(WALLPAPER_DIR)/Blue Curl"
	install -m644 artwork/intrepid_wallpapers/Blue_Curl/1280x800.jpg "$(WALLPAPER_DIR)/Blue Curl"
	install -m644 artwork/intrepid_wallpapers/Blue_Curl/1440x900.jpg "$(WALLPAPER_DIR)/Blue Curl"
	install -m644 artwork/intrepid_wallpapers/Blue_Curl/1600x1200.jpg "$(WALLPAPER_DIR)/Blue Curl"
	install -m644 artwork/intrepid_wallpapers/Blue_Curl/1920x1200.jpg "$(WALLPAPER_DIR)/Blue Curl"

	mkdir -p "$(WALLPAPER_DIR)/Code Poets Dream"
	install -m644 artwork/intrepid_wallpapers/Code_Poets_Dream/1024x768.jpg "$(WALLPAPER_DIR)/Code Poets Dream"
	install -m644 artwork/intrepid_wallpapers/Code_Poets_Dream/1280x1024.jpg "$(WALLPAPER_DIR)/Code Poets Dream"
	install -m644 artwork/intrepid_wallpapers/Code_Poets_Dream/1280x800.jpg "$(WALLPAPER_DIR)/Code Poets Dream"
	install -m644 artwork/intrepid_wallpapers/Code_Poets_Dream/1440x900.jpg "$(WALLPAPER_DIR)/Code Poets Dream"
	install -m644 artwork/intrepid_wallpapers/Code_Poets_Dream/1600x1200.jpg "$(WALLPAPER_DIR)/Code Poets Dream"
	install -m644 artwork/intrepid_wallpapers/Code_Poets_Dream/1920x1200.jpg "$(WALLPAPER_DIR)/Code Poets Dream"

	mkdir -p "$(WALLPAPER_DIR)/Colorado Farm"
	install -m644 artwork/intrepid_wallpapers/Colorado_Farm/1024x768.jpg "$(WALLPAPER_DIR)/Colorado Farm"
	install -m644 artwork/intrepid_wallpapers/Colorado_Farm/1280x1024.jpg "$(WALLPAPER_DIR)/Colorado Farm"
	install -m644 artwork/intrepid_wallpapers/Colorado_Farm/1280x800.jpg "$(WALLPAPER_DIR)/Colorado Farm"
	install -m644 artwork/intrepid_wallpapers/Colorado_Farm/1440x900.jpg "$(WALLPAPER_DIR)/Colorado Farm"
	install -m644 artwork/intrepid_wallpapers/Colorado_Farm/1600x1200.jpg "$(WALLPAPER_DIR)/Colorado Farm"
	install -m644 artwork/intrepid_wallpapers/Colorado_Farm/1920x1200.jpg "$(WALLPAPER_DIR)/Colorado Farm"

	mkdir -p "$(WALLPAPER_DIR)/Curls on Green"
	install -m644 artwork/intrepid_wallpapers/Curls_on_Green/1024x768.jpg "$(WALLPAPER_DIR)/Curls on Green"
	install -m644 artwork/intrepid_wallpapers/Curls_on_Green/1280x1024.jpg "$(WALLPAPER_DIR)/Curls on Green"
	install -m644 artwork/intrepid_wallpapers/Curls_on_Green/1280x800.jpg "$(WALLPAPER_DIR)/Curls on Green"
	install -m644 artwork/intrepid_wallpapers/Curls_on_Green/1440x900.jpg "$(WALLPAPER_DIR)/Curls on Green"
	install -m644 artwork/intrepid_wallpapers/Curls_on_Green/1600x1200.jpg "$(WALLPAPER_DIR)/Curls on Green"
	install -m644 artwork/intrepid_wallpapers/Curls_on_Green/1920x1200.jpg "$(WALLPAPER_DIR)/Curls on Green"

	mkdir -p "$(WALLPAPER_DIR)/Emotion"
	install -m644 artwork/intrepid_wallpapers/Emotion/1024x768.jpg "$(WALLPAPER_DIR)/Emotion"
	install -m644 artwork/intrepid_wallpapers/Emotion/1280x1024.jpg "$(WALLPAPER_DIR)/Emotion"
	install -m644 artwork/intrepid_wallpapers/Emotion/1280x800.jpg "$(WALLPAPER_DIR)/Emotion"
	install -m644 artwork/intrepid_wallpapers/Emotion/1440x900.jpg "$(WALLPAPER_DIR)/Emotion"
	install -m644 artwork/intrepid_wallpapers/Emotion/1600x1200.jpg "$(WALLPAPER_DIR)/Emotion"
	install -m644 artwork/intrepid_wallpapers/Emotion/1920x1200.jpg "$(WALLPAPER_DIR)/Emotion"

	mkdir -p "$(WALLPAPER_DIR)/EOS"
	install -m644 artwork/intrepid_wallpapers/EOS/1024x768.jpg "$(WALLPAPER_DIR)/EOS"
	install -m644 artwork/intrepid_wallpapers/EOS/1280x1024.jpg "$(WALLPAPER_DIR)/EOS"
	install -m644 artwork/intrepid_wallpapers/EOS/1280x800.jpg "$(WALLPAPER_DIR)/EOS"
	install -m644 artwork/intrepid_wallpapers/EOS/1440x900.jpg "$(WALLPAPER_DIR)/EOS"
	install -m644 artwork/intrepid_wallpapers/EOS/1600x1200.jpg "$(WALLPAPER_DIR)/EOS"
	install -m644 artwork/intrepid_wallpapers/EOS/1920x1200.jpg "$(WALLPAPER_DIR)/EOS"

	mkdir -p "$(WALLPAPER_DIR)/Fields of Peace"
	install -m644 artwork/intrepid_wallpapers/Fields_of_Peace/1024x768.jpg "$(WALLPAPER_DIR)/Fields of Peace"
	install -m644 artwork/intrepid_wallpapers/Fields_of_Peace/1280x1024.jpg "$(WALLPAPER_DIR)/Fields of Peace"
	install -m644 artwork/intrepid_wallpapers/Fields_of_Peace/1280x800.jpg "$(WALLPAPER_DIR)/Fields of Peace"
	install -m644 artwork/intrepid_wallpapers/Fields_of_Peace/1440x900.jpg "$(WALLPAPER_DIR)/Fields of Peace"
	install -m644 artwork/intrepid_wallpapers/Fields_of_Peace/1600x1200.jpg "$(WALLPAPER_DIR)/Fields of Peace"
	install -m644 artwork/intrepid_wallpapers/Fields_of_Peace/1920x1200.jpg "$(WALLPAPER_DIR)/Fields of Peace"

	mkdir -p "$(WALLPAPER_DIR)/Finally Summer in Germany"
	install -m644 artwork/intrepid_wallpapers/Finally_Summer_in_Germany/1024x768.jpg "$(WALLPAPER_DIR)/Finally Summer in Germany"
	install -m644 artwork/intrepid_wallpapers/Finally_Summer_in_Germany/1280x1024.jpg "$(WALLPAPER_DIR)/Finally Summer in Germany"
	install -m644 artwork/intrepid_wallpapers/Finally_Summer_in_Germany/1280x800.jpg "$(WALLPAPER_DIR)/Finally Summer in Germany"
	install -m644 artwork/intrepid_wallpapers/Finally_Summer_in_Germany/1440x900.jpg "$(WALLPAPER_DIR)/Finally Summer in Germany"
	install -m644 artwork/intrepid_wallpapers/Finally_Summer_in_Germany/1600x1200.jpg "$(WALLPAPER_DIR)/Finally Summer in Germany"
	install -m644 artwork/intrepid_wallpapers/Finally_Summer_in_Germany/1920x1200.jpg "$(WALLPAPER_DIR)/Finally Summer in Germany"

	mkdir -p "$(WALLPAPER_DIR)/Flower drops"
	install -m644 artwork/intrepid_wallpapers/Flower_drops/1024x768.jpg "$(WALLPAPER_DIR)/Flower drops"
	install -m644 artwork/intrepid_wallpapers/Flower_drops/1280x1024.jpg "$(WALLPAPER_DIR)/Flower drops"
	install -m644 artwork/intrepid_wallpapers/Flower_drops/1280x800.jpg "$(WALLPAPER_DIR)/Flower drops"
	install -m644 artwork/intrepid_wallpapers/Flower_drops/1440x900.jpg "$(WALLPAPER_DIR)/Flower drops"
	install -m644 artwork/intrepid_wallpapers/Flower_drops/1600x1200.jpg "$(WALLPAPER_DIR)/Flower drops"
	install -m644 artwork/intrepid_wallpapers/Flower_drops/1920x1200.jpg "$(WALLPAPER_DIR)/Flower drops"

	mkdir -p "$(WALLPAPER_DIR)/Fresh Morning"
	install -m644 artwork/intrepid_wallpapers/Fresh_Morning/1024x768.jpg "$(WALLPAPER_DIR)/Fresh Morning"
	install -m644 artwork/intrepid_wallpapers/Fresh_Morning/1280x1024.jpg "$(WALLPAPER_DIR)/Fresh Morning"
	install -m644 artwork/intrepid_wallpapers/Fresh_Morning/1280x800.jpg "$(WALLPAPER_DIR)/Fresh Morning"
	install -m644 artwork/intrepid_wallpapers/Fresh_Morning/1440x900.jpg "$(WALLPAPER_DIR)/Fresh Morning"
	install -m644 artwork/intrepid_wallpapers/Fresh_Morning/1600x1200.jpg "$(WALLPAPER_DIR)/Fresh Morning"
	install -m644 artwork/intrepid_wallpapers/Fresh_Morning/1920x1200.jpg "$(WALLPAPER_DIR)/Fresh Morning"

	mkdir -p "$(WALLPAPER_DIR)/Golden Ripples"
	install -m644 artwork/intrepid_wallpapers/Golden_Ripples/1024x768.jpg "$(WALLPAPER_DIR)/Golden Ripples"
	install -m644 artwork/intrepid_wallpapers/Golden_Ripples/1280x1024.jpg "$(WALLPAPER_DIR)/Golden Ripples"
	install -m644 artwork/intrepid_wallpapers/Golden_Ripples/1280x800.jpg "$(WALLPAPER_DIR)/Golden Ripples"
	install -m644 artwork/intrepid_wallpapers/Golden_Ripples/1440x900.jpg "$(WALLPAPER_DIR)/Golden Ripples"
	install -m644 artwork/intrepid_wallpapers/Golden_Ripples/1600x1200.jpg "$(WALLPAPER_DIR)/Golden Ripples"
	install -m644 artwork/intrepid_wallpapers/Golden_Ripples/1920x1200.jpg "$(WALLPAPER_DIR)/Golden Ripples"

	mkdir -p "$(WALLPAPER_DIR)/Green Concentration"
	install -m644 artwork/intrepid_wallpapers/Green_Concentration/1024x768.jpg "$(WALLPAPER_DIR)/Green Concentration"
	install -m644 artwork/intrepid_wallpapers/Green_Concentration/1280x1024.jpg "$(WALLPAPER_DIR)/Green Concentration"
	install -m644 artwork/intrepid_wallpapers/Green_Concentration/1280x800.jpg "$(WALLPAPER_DIR)/Green Concentration"
	install -m644 artwork/intrepid_wallpapers/Green_Concentration/1440x900.jpg "$(WALLPAPER_DIR)/Green Concentration"
	install -m644 artwork/intrepid_wallpapers/Green_Concentration/1600x1200.jpg "$(WALLPAPER_DIR)/Green Concentration"
	install -m644 artwork/intrepid_wallpapers/Green_Concentration/1920x1200.jpg "$(WALLPAPER_DIR)/Green Concentration"

	mkdir -p "$(WALLPAPER_DIR)/Ladybuggin"
	install -m644 artwork/intrepid_wallpapers/Ladybuggin/1024x768.jpg "$(WALLPAPER_DIR)/Ladybuggin"
	install -m644 artwork/intrepid_wallpapers/Ladybuggin/1280x1024.jpg "$(WALLPAPER_DIR)/Ladybuggin"
	install -m644 artwork/intrepid_wallpapers/Ladybuggin/1280x800.jpg "$(WALLPAPER_DIR)/Ladybuggin"
	install -m644 artwork/intrepid_wallpapers/Ladybuggin/1440x900.jpg "$(WALLPAPER_DIR)/Ladybuggin"
	install -m644 artwork/intrepid_wallpapers/Ladybuggin/1600x1200.jpg "$(WALLPAPER_DIR)/Ladybuggin"
	install -m644 artwork/intrepid_wallpapers/Ladybuggin/1920x1200.jpg "$(WALLPAPER_DIR)/Ladybuggin"

	mkdir -p "$(WALLPAPER_DIR)/Leafs Labyrinth"
	install -m644 artwork/intrepid_wallpapers/Leafs_Labyrinth/1024x768.jpg "$(WALLPAPER_DIR)/Leafs Labyrinth"
	install -m644 artwork/intrepid_wallpapers/Leafs_Labyrinth/1280x1024.jpg "$(WALLPAPER_DIR)/Leafs Labyrinth"
	install -m644 artwork/intrepid_wallpapers/Leafs_Labyrinth/1280x800.jpg "$(WALLPAPER_DIR)/Leafs Labyrinth"
	install -m644 artwork/intrepid_wallpapers/Leafs_Labyrinth/1440x900.jpg "$(WALLPAPER_DIR)/Leafs Labyrinth"
	install -m644 artwork/intrepid_wallpapers/Leafs_Labyrinth/1600x1200.jpg "$(WALLPAPER_DIR)/Leafs Labyrinth"
	install -m644 artwork/intrepid_wallpapers/Leafs_Labyrinth/1920x1200.jpg "$(WALLPAPER_DIR)/Leafs Labyrinth"

	mkdir -p "$(WALLPAPER_DIR)/Red Leaf"
	install -m644 artwork/intrepid_wallpapers/Red_Leaf/1024x768.jpg "$(WALLPAPER_DIR)/Red Leaf"
	install -m644 artwork/intrepid_wallpapers/Red_Leaf/1280x1024.jpg "$(WALLPAPER_DIR)/Red Leaf"
	install -m644 artwork/intrepid_wallpapers/Red_Leaf/1280x800.jpg "$(WALLPAPER_DIR)/Red Leaf"
	install -m644 artwork/intrepid_wallpapers/Red_Leaf/1440x900.jpg "$(WALLPAPER_DIR)/Red Leaf"
	install -m644 artwork/intrepid_wallpapers/Red_Leaf/1600x1200.jpg "$(WALLPAPER_DIR)/Red Leaf"
	install -m644 artwork/intrepid_wallpapers/Red_Leaf/1920x1200.jpg "$(WALLPAPER_DIR)/Red Leaf"

	mkdir -p "$(WALLPAPER_DIR)/Skeeter Hawk"
	install -m644 artwork/intrepid_wallpapers/Skeeter_Hawk/1024x768.jpg "$(WALLPAPER_DIR)/Skeeter Hawk"
	install -m644 artwork/intrepid_wallpapers/Skeeter_Hawk/1280x1024.jpg "$(WALLPAPER_DIR)/Skeeter Hawk"
	install -m644 artwork/intrepid_wallpapers/Skeeter_Hawk/1280x800.jpg "$(WALLPAPER_DIR)/Skeeter Hawk"
	install -m644 artwork/intrepid_wallpapers/Skeeter_Hawk/1440x900.jpg "$(WALLPAPER_DIR)/Skeeter Hawk"
	install -m644 artwork/intrepid_wallpapers/Skeeter_Hawk/1600x1200.jpg "$(WALLPAPER_DIR)/Skeeter Hawk"
	install -m644 artwork/intrepid_wallpapers/Skeeter_Hawk/1920x1200.jpg "$(WALLPAPER_DIR)/Skeeter Hawk"

	mkdir -p "$(WALLPAPER_DIR)/There is Rain on the Table"
	install -m644 artwork/intrepid_wallpapers/There_is_Rain_on_the_Table/1024x768.jpg "$(WALLPAPER_DIR)/There is Rain on the Table"
	install -m644 artwork/intrepid_wallpapers/There_is_Rain_on_the_Table/1280x1024.jpg "$(WALLPAPER_DIR)/There is Rain on the Table"
	install -m644 artwork/intrepid_wallpapers/There_is_Rain_on_the_Table/1280x800.jpg "$(WALLPAPER_DIR)/There is Rain on the Table"
	install -m644 artwork/intrepid_wallpapers/There_is_Rain_on_the_Table/1440x900.jpg "$(WALLPAPER_DIR)/There is Rain on the Table"
	install -m644 artwork/intrepid_wallpapers/There_is_Rain_on_the_Table/1600x1200.jpg "$(WALLPAPER_DIR)/There is Rain on the Table"
	install -m644 artwork/intrepid_wallpapers/There_is_Rain_on_the_Table/1920x1200.jpg "$(WALLPAPER_DIR)/There is Rain on the Table"

	mkdir -p "$(WALLPAPER_DIR)/Vector Sunset"
	install -m644 artwork/intrepid_wallpapers/Vector_Sunset/1024x768.jpg "$(WALLPAPER_DIR)/Vector Sunset"
	install -m644 artwork/intrepid_wallpapers/Vector_Sunset/1280x1024.jpg "$(WALLPAPER_DIR)/Vector Sunset"
	install -m644 artwork/intrepid_wallpapers/Vector_Sunset/1280x800.jpg "$(WALLPAPER_DIR)/Vector Sunset"
	install -m644 artwork/intrepid_wallpapers/Vector_Sunset/1440x900.jpg "$(WALLPAPER_DIR)/Vector Sunset"
	install -m644 artwork/intrepid_wallpapers/Vector_Sunset/1600x1200.jpg "$(WALLPAPER_DIR)/Vector Sunset"
	install -m644 artwork/intrepid_wallpapers/Vector_Sunset/1920x1200.jpg "$(WALLPAPER_DIR)/Vector Sunset"

	mkdir -p "$(SOUNDS_DIR)"
	install -m644 artwork/kubuntu-login.ogg  "$(SOUNDS_DIR)"

	mkdir -p "$(KONQ_TILES_DIR)"
	install -m644 artwork/kubuntu-konqueror-background.png  "$(KONQ_TILES_DIR)"
	install -m644 artwork/kubuntu-konqueror-background-classic.png  "$(KONQ_TILES_DIR)"

	mkdir -p "$(KICKER_DIR)/pics"
	install -m644 artwork/kubuntu-kmenu-side.png  "$(KICKER_DIR)/pics/"
	install -m644 artwork/kubuntu-kmenu-side-tile.png  "$(KICKER_DIR)/pics/"
	mkdir -p "$(KICKER_DIR)/wallpapers"
	install -m644 artwork/kubuntu-panel.png  "$(KICKER_DIR)/wallpapers/"

	mkdir -p "$(TDM_THEME_DIR)"
	install -m644 artwork/tdm-theme/*  "$(TDM_THEME_DIR)"

	mkdir -p "$(TDM_THEME_NO_USERLIST_DIR)"
	install -m644 artwork/tdm-theme-no-userlist/*  "$(TDM_THEME_NO_USERLIST_DIR)"

	mkdir -p "$(KSPLASH_THEME_DIR)"
	install -m644 artwork/ksplash/*  "$(KSPLASH_THEME_DIR)"
	ln -s /usr/share/wallpapers/kubuntu-wallpaper.png "$(KSPLASH_THEME_DIR)/Background.jpg"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/metabar/themes/kubuntu"
	install -m644 artwork/metabar/*  "$(SETTINGS_DIR)/tde-profile/default/share/apps/metabar/themes/kubuntu"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/amarok/themes/kubuntu"
	install -m644 artwork/amarok/*  "$(SETTINGS_DIR)/tde-profile/default/share/apps/amarok/themes/kubuntu"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/konversation/themes/oxygen"
	install -m644 artwork/konversation/*  "$(SETTINGS_DIR)/tde-profile/default/share/apps/konversation/themes/oxygen"

	mkdir -p "$(DESTDIR)/etc"
	install -m644 tde-profile/tderc "$(DESTDIR)/etc"
	install -m644 tde-profile/kde4rc "$(DESTDIR)/etc"
	install -m644 tde-profile/tde-user-profile "$(DESTDIR)/etc"

	mkdir -p "$(DESTDIR)/etc/qt3"
	install -m644 qt-rc-files/*rc "$(DESTDIR)/etc/qt3"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/config/"
	install -m644 kde-rc-files/*rc "$(SETTINGS_DIR)/tde-profile/default/share/config/"
	install -m644 kde-rc-files/uiserver "$(SETTINGS_DIR)/tde-profile/default/share/config/"
	install -m644 kde-rc-files/kdeglobals "$(SETTINGS_DIR)/tde-profile/default/share/config/"
	install -m644 kde-rc-files/startupconfig "$(SETTINGS_DIR)/tde-profile/default/share/config/"
	install -m644 kde-rc-files/cryptodefaults "$(SETTINGS_DIR)/tde-profile/default/share/config/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/tdedisplay/color-schemes/"
	install -m644 colour-schemes/*rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/tdedisplay/color-schemes/"

	mkdir -p "$(CURSOR_DIR)/cursors"
	install -m644 cursors/index.theme "$(CURSOR_DIR)/"
	mkdir -p "$(CURSOR_DIR)cursors/"
	install -m644 cursors/contrastlarge/cursors/* "$(CURSOR_DIR)/cursors/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/konqueror/"
	install -m644 ui-rc-files/konqueror.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/konqueror/"
#	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/konversation/"
#	install -m644 ui-rc-files/konversationui.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/konversation/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/kopete/"
	install -m644 ui-rc-files/kopetechatwindow.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/kopete/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/gwenview/"
	install -m644 ui-rc-files/gwenviewui.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/gwenview/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/konqueror/servicemenus/"
	mkdir -p "$(DESTDIR)/usr/bin"
	install -m644 konqueror-profile/konq_plugins.xml "$(SETTINGS_DIR)/tde-profile/default/share/apps/konqueror/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/16x16/actions/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/22x22/actions/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/32x32/actions/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/48x48/actions/"
	install -m644 artwork/throbber/16x16/trinity.png "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/16x16/actions/"
	install -m644 artwork/throbber/22x22/trinity.png "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/22x22/actions/"
	install -m644 artwork/throbber/32x32/trinity.png "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/32x32/actions/"
	install -m644 artwork/throbber/48x48/trinity.png "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/48x48/actions/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/64x64/actions/"
	install -m644 kaffeine/fileopen64.png "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/64x64/actions/fileopen.png"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/128x128/actions/"
	install -m644 kaffeine/fileopen128.png "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/128x128/actions/fileopen.png"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/icons/crystalsvg/scalable/actions/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/kaffeine/"
	install -m644 kaffeine/wizard_stamp_v0.7.1 "$(SETTINGS_DIR)/tde-profile/default/share/apps/kaffeine"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/kpdfpart/"
	install -m644 kpart-rc-files/part.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/kpdfpart/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/gvimagepart/"
	install -m644 kpart-rc-files/gvimagepart.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/gvimagepart/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/ark/"
	install -m644 kpart-rc-files/ark_part.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/ark/"
	install -m644 kpart-rc-files/ark_part_readonly.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/ark/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/ksvg/"
	install -m644 kpart-rc-files/ksvgplugin.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/ksvg/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/tdehtml/"
	install -m644 kpart-rc-files/tdehtml_browser.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/tdehtml/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/mimelnk/application/"
	install -m644 mimelnk/x-tar.desktop "$(SETTINGS_DIR)/tde-profile/default/share/mimelnk/application/"
	install -m644 mimelnk/x-tarz.desktop "$(SETTINGS_DIR)/tde-profile/default/share/mimelnk/application/"
	install -m644 mimelnk/x-tbz.desktop "$(SETTINGS_DIR)/tde-profile/default/share/mimelnk/application/"
	install -m644 mimelnk/x-tgz.desktop "$(SETTINGS_DIR)/tde-profile/default/share/mimelnk/application/"
	install -m644 mimelnk/x-zip.desktop "$(SETTINGS_DIR)/tde-profile/default/share/mimelnk/application/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/konqiconview/kpartplugins/"
	install -m644 kpart-plugins/dirfilterplugin.rc "$(SETTINGS_DIR)/tde-profile/default/share/apps/konqiconview/kpartplugins/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/tdewallet/"
	install -m644 tdewallet-default-wallet/tdewallet.kwl "$(SETTINGS_DIR)/tde-profile/default/share/apps/tdewallet/"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/default/share/apps/kwin/"
	install -m644 artwork/window-decoration-gradient.png "$(SETTINGS_DIR)/tde-profile/default/share/apps/kwin/"
	install -m644 artwork/window-decoration-gradient-inactive.png "$(SETTINGS_DIR)/tde-profile/default/share/apps/kwin/"

	install -m644 gtk-qt-engine-rc-files/gtkrc-2.0-kde4 "$(SETTINGS_DIR)/.gtkrc-2.0-kde4"
	install -m644 gtk-qt-engine-rc-files/gtk_qt_engine_rc "$(SETTINGS_DIR)/.gtk_qt_engine_rc"
	install -m644 gtk-qt-engine-rc-files/gtk-qt-engine.rc.sh "$(SETTINGS_DIR)/gtk-qt-engine.rc.sh"

	mkdir -p "$(DESTDIR)/etc/skel"
	install -m644 gtk-qt-engine-rc-files/gtkrc-2.0-kde4 "$(DESTDIR)/etc/skel/.gtkrc-2.0-kde4"

	mkdir -p "$(KDESKEL_DIR)/env"
	install -m644 gtk-qt-engine-rc-files/gtk-qt-engine.rc.sh "$(KDESKEL_DIR)/env/gtk-qt-engine.rc.sh"

	mkdir -p "$(SKELETON_DIR)"
	install -m644 kompmgr-rc-files/xcompmgrrc "$(SKELETON_DIR)/.xcompmgrrc"
	install -m644 kompmgr-rc-files/compton-tde.conf "$(SKELETON_DIR)/.compton-tde.conf"

	mkdir -p "$(KDESKEL_DIR)/share"
	mkdir -p "$(KDESKEL_DIR)/share/apps"
	mkdir -p "$(KDESKEL_DIR)/share/apps/kdesktop"
	install -m644 default-icon-positions/IconPositions "$(KDESKEL_DIR)/share/apps/kdesktop/IconPositions"

	mkdir -p "$(SETTINGS_DIR)/tde-profile/lesser-visual-impairment/share/config/"
	cp -r accessibility/lesser-visual-impairment/* "$(SETTINGS_DIR)/tde-profile/lesser-visual-impairment/share/config/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/moderate-visual-impairment/share/config/"
	cp -r accessibility/moderate-visual-impairment/* "$(SETTINGS_DIR)/tde-profile/moderate-visual-impairment/share/config/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/minor-motor-difficulties/share/config/"
	cp -r accessibility/minor-motor-difficulties/* "$(SETTINGS_DIR)/tde-profile/minor-motor-difficulties/share/config/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/motor-difficulties-pointing-devices/share/config/"
	cp -r accessibility/motor-difficulties-pointing-devices/* "$(SETTINGS_DIR)/tde-profile/motor-difficulties-pointing-devices/share/config/"
	mkdir -p "$(SETTINGS_DIR)/tde-profile/motor-difficulties-pointing-devices/share/Autostart/"
	ln -s /usr/bin/kmousetool "$(SETTINGS_DIR)/tde-profile/motor-difficulties-pointing-devices/share/Autostart/kmousetool"

	mkdir -p "$(DESTDIR)/etc/redmond-default-settings"
	install -m644 kde-hidden/hidden-media "$(DESTDIR)/etc/redmond-default-settings/"
	install -m644 kde-hidden/directory-media "$(DESTDIR)/etc/redmond-default-settings/"
	install -m644 kde-hidden/directory-home "$(DESTDIR)/etc/redmond-default-settings/"

	#mkdir -p "$(SETTINGS_DIR)/kde4-profile/default/share/apps/desktoptheme/slim-glow"
	#cp -rf kde4/artwork/desktoptheme/* "$(SETTINGS_DIR)/kde4-profile/default/share/apps/desktoptheme/slim-glow/"

	mkdir -p "$(SETTINGS_DIR)/kde4-profile/default/share/config"
	install -m644 kde4/kde-rc-files/*rc "$(SETTINGS_DIR)/kde4-profile/default/share/config/"
	install -m644 kde4/kde-rc-files/cryptodefaults "$(SETTINGS_DIR)/kde4-profile/default/share/config/"

	mkdir -p "$(DESTDIR)/usr/lib/kde4/etc/kde4/"
	install -m644 kde4/kde-rc-files/kdeglobals "$(DESTDIR)/usr/lib/kde4/etc/kde4/"

	mkdir -p "$(DESTDIR)/etc/trinity/"
	install -m644 kickerrc "$(DESTDIR)/etc/trinity/"