summaryrefslogtreecommitdiffstats
path: root/libkcal/libical/zoneinfo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/libical/zoneinfo/Makefile.am')
-rw-r--r--libkcal/libical/zoneinfo/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/libkcal/libical/zoneinfo/Makefile.am b/libkcal/libical/zoneinfo/Makefile.am
new file mode 100644
index 000000000..db05f1742
--- /dev/null
+++ b/libkcal/libical/zoneinfo/Makefile.am
@@ -0,0 +1,39 @@
+
+zoneinfodir = $(kde_datadir)/libical/zoneinfo
+
+zoneinfo_DATA = zones.tab
+
+DIRS = \
+ Africa \
+ America \
+ America/Argentina \
+ America/Indiana \
+ America/Kentucky \
+ America/North_Dakota \
+ Antarctica \
+ Arctic \
+ Asia \
+ Atlantic \
+ Australia \
+ Europe \
+ Indian \
+ Pacific
+
+
+install-data-local:
+ for dir in $(DIRS); do \
+ $(mkinstalldirs) $(DESTDIR)$(zoneinfodir)/$$dir; \
+ for tzfile in $(srcdir)/$$dir/*.ics; do \
+ $(INSTALL_DATA) $$tzfile $(DESTDIR)$(zoneinfodir)/$$dir; \
+ done \
+ done
+
+dist-hook:
+ for dir in $(DIRS); do \
+ mkdir $(distdir)/$$dir; \
+ for tzfile in $(srcdir)/$$dir/*.ics; do \
+ cp -p $$tzfile $(distdir)/$$dir; \
+ done \
+ done
+
+EXTRA_DIST = $(zoneinfo_DATA)