diff options
Diffstat (limited to 'libical/zoneinfo/Makefile.am')
-rw-r--r-- | libical/zoneinfo/Makefile.am | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libical/zoneinfo/Makefile.am b/libical/zoneinfo/Makefile.am new file mode 100644 index 0000000000..40a372cc89 --- /dev/null +++ b/libical/zoneinfo/Makefile.am @@ -0,0 +1,36 @@ + +zoneinfodatadir = $(datadir)/$(PACKAGE)/zoneinfo + +zoneinfodata_DATA = zones.tab + +DIRS = \ + Africa \ + America \ + America/Indiana \ + America/Kentucky \ + Antarctica \ + Arctic \ + Asia \ + Atlantic \ + Australia \ + Europe \ + Indian \ + Pacific + + +install-data-local: + @$(NORMAL_INSTALL) + for dir in $(DIRS); do \ + $(mkinstalldirs) $(DESTDIR)$(datadir)/$(PACKAGE)/zoneinfo/$$dir; \ + for tzfile in $(srcdir)/$$dir/*.ics; do \ + $(INSTALL_DATA) $$tzfile $(DESTDIR)$(datadir)/$(PACKAGE)/zoneinfo/$$dir; \ + done \ + done + +dist-hook: + for dir in $(DIRS); do \ + mkdir $(distdir)/$$dir; \ + for tzfile in $$dir/*.ics; do \ + cp -p $$tzfile $(distdir)/$$dir; \ + done \ + done |