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
18 html_man_files = gnetlist.html
19 SUFFIXES = .1.in .1 .html
21 docsmandir=$(docdir)/man
22 docsman_DATA=$(html_man_files)
27 LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \
31 @echo "No working groff available: cannot create $@"
36 ChangeLog: $(top_builddir)/stamp-git
39 $(GIT) log --pretty=medium $(CHANGELOG_BASE).. -- . || \
40 echo "WARNING: ChangeLog information not available from git" >&2 ; \
44 MOSTLYCLEANFILES = *.log core FILE *~
45 CLEANFILES = *.log core FILE *~
46 DISTCLEANFILES = *.log core FILE *~
47 MAINTAINERCLEANFILES = *.log core FILE *~ Makefile.in ChangeLog $(html_man_files)