2 SUBDIRS = toplevel wiki scheme-api
4 EXTRA_DIST = ChangeLog-1.0 ChangeLog gnetlist.1.in $(html_man_files)
6 dist_man_MANS = gnetlist.1
10 d=`$(GUILE) -c '(setlocale LC_ALL "C") \
11 (display (strftime "%B %-d, %Y" \
12 (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \
13 v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \
14 y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \
15 sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@
17 # Rules for converting man->html
20 html_man_files += gnetlist.html
22 SUFFIXES = .1.in .1 .html
24 docsmandir=$(docdir)/man
25 docsman_DATA=$(html_man_files)
30 LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \
34 @echo "No working groff available: cannot create $@"
39 ChangeLog: $(top_builddir)/stamp-git
42 $(GIT) log --pretty=medium $(CHANGELOG_BASE).. -- . || \
43 echo "WARNING: ChangeLog information not available from git" >&2 ; \
47 MOSTLYCLEANFILES = *.log core FILE *~
48 CLEANFILES = *.log core FILE *~
49 DISTCLEANFILES = *.log core FILE *~
50 MAINTAINERCLEANFILES = *.log core FILE *~ Makefile.in ChangeLog $(html_man_files)