#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# Boston, MA 02110-1301, USA.
#
-docdir=$(prefix)/share/doc/@PACKAGE@-@VERSION@
+include $(top_srcdir)/Makefile.common
HTML_FILES =
gr-trellis.xml \
make_numbered_listing.py \
test_tcm.py \
- test_tcm.py.xml
+ test_tcm.py.xml \
+ test_viterbi_equalization1.py \
+ test_viterbi_equalization1.py.xml
BUILT_XML_FILES =
# ----------------------------------------------------------------
-%.html : %.xml
- xmlto html-nochunks $<
+gr-trellis.html : gr-trellis.xml
+ xmlto html-nochunks $(top_srcdir)/gr-trellis/doc/gr-trellis.xml
+# XXX `%'-style pattern rules are a GNU make extension
%.xml : % make_numbered_listing.py
./make_numbered_listing.py $<
install-data-local:
- mkdir -p $(DESTDIR)$(docdir)/html
+ mkdir -p $(DESTDIR)$(gr_docdir)/html
@for i in $(HTML_FILES); do \
- echo "$(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/html"; \
- $(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/html; \
+ echo "$(INSTALL_DATA) $$i $(DESTDIR)$(gr_docdir)/html"; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(gr_docdir)/html; \
done
uninstall-local:
@for i in $(HTML_FILES); do \
- echo "$(RM) $(DESTDIR)$(docdir)/$$i;"; \
- $(RM) $(DESTDIR)$(docdir)/$$i; \
+ echo "$(RM) $(DESTDIR)$(gr_docdir)/$$i;"; \
+ $(RM) $(DESTDIR)$(gr_docdir)/$$i; \
done
- $(RM) -fr $(DESTDIR)$(docdir)/html
+ $(RM) -fr $(DESTDIR)$(gr_docdir)/html
clean-local:
- $(RM) -fr $(HTML_FILES) *~
\ No newline at end of file
+ $(RM) -fr $(HTML_FILES) *~