aboutsummaryrefslogblamecommitdiffstats
path: root/libical/zoneinfo/Makefile.am
blob: 78b2be521eb39361786193befe748338ead29608 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
 
                                         







                                 
                                 












                                 
                                                                
                                                   
                                                                          





                                   
                                                   


                                              

                                 

zoneinfodatadir = $(privdatadir)/zoneinfo

zoneinfodata_DATA = zones.tab

DIRS = \
    Africa          \
    America         \
    America/Indiana     \
    America/Kentucky    \
    America/North_Dakota    \
    Antarctica      \
    Arctic          \
    Asia            \
    Atlantic        \
    Australia       \
    Europe          \
    Indian          \
    Pacific


install-data-local:
    @$(NORMAL_INSTALL)
    for dir in $(DIRS); do \
      $(mkinstalldirs) $(DESTDIR)$(zoneinfodatadir)/$$dir; \
      for tzfile in $(srcdir)/$$dir/*.ics; do \
        $(INSTALL_DATA) $$tzfile $(DESTDIR)$(zoneinfodatadir)/$$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 = $(zoneinfodata_DATA)