50 SUBDIRS = documentation
52 gafrcddir = $(GEDADATADIR)/gafrc.d
53 dist_gafrcd_DATA = geda-clib.scm
55 datasymdir = $(GEDADATADIR)/sym
56 nobase_dist_datasym_DATA = \
57 vhdl/verilog2vhdl.sh vhdl/script.sed
59 EXTRA_DIST = ChangeLog ChangeLog-1.0 \
63 ChangeLog: $(top_builddir)/stamp-git
64 (cd $(srcdir) && $(GIT) log --pretty=medium $(CHANGELOG_BASE).. -- .) > $@
67 # Copies symbols into distribution
69 @for lib in $(symbol_dirs); do \
70 $(MKDIR_P) $(distdir)/$$lib && \
71 list=`(ls $(srcdir)/$$lib) | grep '.[Ss][Yy][Mm]$$'`; \
72 for file in $$list; do \
73 cp -p $(srcdir)/$$lib/$$file $(distdir)/$$lib || exit $$?; \
80 @for lib in $(symbol_dirs); do \
81 d="$(DESTDIR)$(datasymdir)/$$lib"; \
83 list=`(ls $(srcdir)/$$lib) | grep '.[Ss][Yy][Mm]$$'`; \
84 if test -n "$$list"; then \
85 echo " ( cd $(srcdir)/$$lib && $(INSTALL_DATA)" $$list "'$$d' )"; \
86 (cd $(srcdir)/$$lib && $(INSTALL_DATA) $$list "$$d") || exit $$?; \
93 @for lib in $(symbol_dirs); do \
94 d="$(DESTDIR)$(datasymdir)/$$lib"; \
95 list=`(ls $(srcdir)/$$lib) | grep '\.[Ss][Yy][Mm]$$'`; \
96 if test -n "$$list"; then \
97 echo " ( cd '$$d' && rm -f" $$list ")"; \
98 (cd "$$d" && rm -f $$list) || exit $$?; \
102 MOSTLYCLEANFILES = *.log *~
103 CLEANFILES = *.log *~
104 DISTCLEANFILES = *.log core FILE *~
105 MAINTAINERCLEANFILES = *.log *~ Makefile.in ChangeLog