summaryrefslogtreecommitdiffstats
path: root/kmail/profiles/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/profiles/Makefile.am')
-rw-r--r--kmail/profiles/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/kmail/profiles/Makefile.am b/kmail/profiles/Makefile.am
new file mode 100644
index 000000000..4b61af443
--- /dev/null
+++ b/kmail/profiles/Makefile.am
@@ -0,0 +1,14 @@
+profiles = default html high-contrast purist secure
+
+# remove the .desktop suffix on install (which is needed for translation)
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kmail
+ for profile in $(profiles); do \
+ $(INSTALL_DATA) $(srcdir)/profile-$$profile-rc.desktop \
+ $(DESTDIR)$(kde_datadir)/kmail/profile-$$profile-rc; \
+ done
+
+uninstall-local:
+ -for profile in $(profiles); do \
+ rm -f $(DESTDIR)$(kde_datadir)/kmail/profile-$$profile-rc; \
+ done