diff options
author | jcorgan | 2006-08-26 17:55:12 +0000 |
---|---|---|
committer | jcorgan | 2006-08-26 17:55:12 +0000 |
commit | 878730dc2aa16817055998592610a0f43b3a22cb (patch) | |
tree | 2c2edcf5a42abc604f5f8870d4a579ca76144a47 /gr-trellis/doc/Makefile.am | |
parent | 2c857b24438ac67b3f332934ede4e6710f49a65d (diff) | |
download | gnuradio-878730dc2aa16817055998592610a0f43b3a22cb.tar.gz gnuradio-878730dc2aa16817055998592610a0f43b3a22cb.tar.bz2 gnuradio-878730dc2aa16817055998592610a0f43b3a22cb.zip |
Fixes ticket:34. Merged r3420:3425 from jcorgan/ticket-34.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3426 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-trellis/doc/Makefile.am')
-rw-r--r-- | gr-trellis/doc/Makefile.am | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/gr-trellis/doc/Makefile.am b/gr-trellis/doc/Makefile.am index 68f879b40..0275a3e97 100644 --- a/gr-trellis/doc/Makefile.am +++ b/gr-trellis/doc/Makefile.am @@ -19,33 +19,46 @@ # Boston, MA 02111-1307, USA. # -TARGETS = gr-trellis.html +docdir=$(prefix)/share/doc/@PACKAGE@-@VERSION@ +HTML_FILES = -# To avoid build problems for folks who don't have xmlto installed, we -# don't build the docs by default. +if HAS_XMLTO +HTML_FILES += \ + gr-trellis.html +endif -# html: $(TARGETS) -all: $(TARGETS) - - -EXTRA_DIST = +all: $(HTML_FILES) +EXTRA_DIST = \ + gr-trellis.xml \ + make_numbered_listing.py \ + test_tcm.py \ + test_tcm.py.xml BUILT_XML_FILES = - -gr-trellis.html : gr-trellis.xml $(BUILT_XML_FILES) - - - # ---------------------------------------------------------------- -clean: - -rm -f $(TARGETS) $(BUILT_XML_FILES) - %.html : %.xml xmlto html-nochunks $< %.xml : % make_numbered_listing.py ./make_numbered_listing.py $< + +install-data-local: + mkdir -p $(DESTDIR)$(docdir)/html + @for i in $(HTML_FILES); do \ + echo "$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/html"; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/html; \ + done + +uninstall-local: + @for i in $(HTML_FILES); do \ + echo "$(RM) $(DESTDIR)$(docdir)/$$i;"; \ + $(RM) $(DESTDIR)$(docdir)/$$i; \ + done + $(RM) -fr $(DESTDIR)$(docdir)/html + +clean-local: + $(RM) -fr $(HTML_FILES) *~
\ No newline at end of file |