53 SUBDIRS = documentation
55 gafrcddir = $(GEDADATADIR)/gafrc.d
56 dist_gafrcd_DATA = geda-clib.scm
58 datasymdir = $(GEDADATADIR)/sym
59 dataextrasymdir = $(GEDADATADIR)/extra-sym
61 EXTRA_DIST = ChangeLog ChangeLog-1.0 \
65 ChangeLog: $(top_builddir)/stamp-git
68 $(GIT) log --pretty=medium $(CHANGELOG_BASE).. -- . || \
69 echo "WARNING: ChangeLog information not available from git" >&2 ; \
73 # Copies symbols into distribution
75 @for lib in $(symbol_dirs) $(extra_symbol_dirs); do \
76 $(MKDIR_P) $(distdir)/$$lib && \
77 list=`(cd $(srcdir)/$$lib && find . -name '*.[sS][yY][mM]' | sed -e 's:^\./::')`; \
78 for file in $$list; do \
79 cp -p $(srcdir)/$$lib/$$file $(distdir)/$$lib || exit $$?; \
86 @for lib in $(symbol_dirs); do \
87 d="$(DESTDIR)$(datasymdir)/$$lib"; \
89 list=`(cd $(srcdir)/$$lib && find . -name '*.[sS][yY][mM]' | sed -e 's:^\./::')`; \
90 if test -n "$$list"; then \
91 echo " ( cd $(srcdir)/$$lib && $(INSTALL_DATA)" $$list "'$$d' )"; \
92 (cd $(srcdir)/$$lib && $(INSTALL_DATA) $$list "$$d") || exit $$?; \
95 @for lib in $(extra_symbol_dirs); do \
96 d="$(DESTDIR)$(dataextrasymdir)/$$lib"; \
98 list=`(cd $(srcdir)/$$lib && find . -name '*.[sS][yY][mM]' | sed -e 's:^\./::')`; \
99 if test -n "$$list"; then \
100 echo " ( cd $(srcdir)/$$lib && $(INSTALL_DATA)" $$list "'$$d' )"; \
101 (cd $(srcdir)/$$lib && $(INSTALL_DATA) $$list "$$d") || exit $$?; \
102 echo " ( cd '$(DESTDIR)$(datasymdir)/$$lib' && rm -f" $$list ")"; \
103 (cd "$(DESTDIR)$(datasymdir)/$$lib" && rm -f $$list || true); \
105 rmdir "$(DESTDIR)$(datasymdir)/$$lib" || true; \
111 @for lib in $(symbol_dirs); do \
112 d="$(DESTDIR)$(datasymdir)/$$lib"; \
113 list=`(cd $(srcdir)/$$lib && find . -name '*.[sS][yY][mM]' | sed -e 's:^\./::')`; \
114 if test -n "$$list"; then \
115 echo " ( cd '$$d' && rm -f" $$list ")"; \
116 (cd "$$d" && rm -f $$list) || exit $$?; \
119 @for lib in $(extra_symbol_dirs); do \
120 d="$(DESTDIR)$(dataextrasymdir)/$$lib"; \
121 list=`(cd $(srcdir)/$$lib && find . -name '*.[sS][yY][mM]' | sed -e 's:^\./::')`; \
122 if test -n "$$list"; then \
123 echo " ( cd '$$d' && rm -f" $$list ")"; \
124 (cd "$$d" && rm -f $$list) || exit $$?; \
128 MOSTLYCLEANFILES = *.log *~
129 CLEANFILES = *.log *~
130 DISTCLEANFILES = *.log core FILE *~
131 MAINTAINERCLEANFILES = *.log *~ Makefile.in ChangeLog