/[radius]/radius/raddb/Makefile.am
ViewVC logotype

Diff of /radius/raddb/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by gray, Tue Dec 2 23:59:04 2003 UTC revision 1.20 by gray, Wed Dec 3 11:32:41 2003 UTC
# Line 53  rewrite_DATA = checknas.rw log-hook.rw Line 53  rewrite_DATA = checknas.rw log-hook.rw
53  EXTRA_DIST=$(raddb_files) $(dictionaries) client.conf.in config.in checknas.rw log-hook.rw  EXTRA_DIST=$(raddb_files) $(dictionaries) client.conf.in config.in checknas.rw log-hook.rw
54  DISTCLEANFILES=client.conf  DISTCLEANFILES=client.conf
55    
56    update-dictionary:
57            if [ -s $(DESTDIR)$(raddbdir)/dictionary.grad.1.0 ]; then \
58                    echo "Backup dicionary file found. It seems you have already run make install-dictionary"; \
59            else\
60                    $(AWK) -f $(top_srcdir)/scripts/update-dict.awk\
61                        $(DESTDIR)$(raddbdir)/dictionary\
62                        $(top_srcdir)/raddb/dictionary\
63                        $(top_srcdir)/raddb/dict/standard > $@-t; \
64                    if test -s $@-t; then \
65                        mv $(DESTDIR)$(raddbdir)/dictionary \
66                          $(DESTDIR)$(raddbdir)/dictionary.grad.1.0; \
67                        mv $@-t $(DESTDIR)$(raddbdir)/dictionary;\
68                    fi; \
69            fi; \
70            for file in $(dictionaries); do \
71                    ${INSTALL} -m 644 $(top_srcdir)/raddb/$$file $(DESTDIR)$(raddbdir)/$$file; \
72            done;
73    
74  install-data-local:  install-data-local:
75          @if [ ! -d $(DESTDIR)$(raddbdir) ]; then \          @if [ ! -d $(DESTDIR)$(raddbdir) ]; then \
76                  ${INSTALL} -d $(DESTDIR)$(raddbdir); \                  ${INSTALL} -d $(DESTDIR)$(raddbdir); \
# Line 74  install-data-local: Line 92  install-data-local:
92                  for file in $(raddb_files_600); do \                  for file in $(raddb_files_600); do \
93                          ${INSTALL} -m 600 $(top_srcdir)/raddb/$$file $(DESTDIR)$(raddbdir)/$$file; \                          ${INSTALL} -m 600 $(top_srcdir)/raddb/$$file $(DESTDIR)$(raddbdir)/$$file; \
94                  done; \                  done; \
95                    for file in $(dictionaries); do \
96                            ${INSTALL} -m 644 $(top_srcdir)/raddb/$$file $(DESTDIR)$(raddbdir)/$$file; \
97                    done;\
98          fi          fi
         @for file in $(dictionaries); do \  
                 ${INSTALL} -m 644 $(top_srcdir)/raddb/$$file $(DESTDIR)$(raddbdir)/$$file; \  
         done;  
99    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26