More changes toward getting 'make distcheck' to succeed.
This commit is contained in:
parent
764c88ffea
commit
0d6e72adbb
1 changed files with 13 additions and 14 deletions
15
Makefile.am
15
Makefile.am
|
|
@ -265,7 +265,7 @@ fullcheck: check
|
||||||
DISTCLEANFILES += doc/ledger.info doc/ledger.pdf \
|
DISTCLEANFILES += doc/ledger.info doc/ledger.pdf \
|
||||||
doc/Doxyfile.gen doc/refman.pdf
|
doc/Doxyfile.gen doc/refman.pdf
|
||||||
|
|
||||||
EXTRA_DIST += doc/ledger.pdf doc/html doc/refman.pdf
|
EXTRA_DIST += doc/Doxyfile doc/ledger.pdf doc/html doc/refman.pdf
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
rm -fr doc/html doc/latex
|
rm -fr doc/html doc/latex
|
||||||
|
|
@ -275,7 +275,7 @@ $(top_builddir)/Doxyfile.gen: $(srcdir)/doc/Doxyfile
|
||||||
| sed "s/%srcdir%/$(ESC_srcdir)/g" \
|
| sed "s/%srcdir%/$(ESC_srcdir)/g" \
|
||||||
| sed "s/%builddir%/$(ESC_builddir)/g" > $@
|
| sed "s/%builddir%/$(ESC_builddir)/g" > $@
|
||||||
|
|
||||||
doxygen: $(top_builddir)/Doxyfile.gen
|
doc/html: $(top_builddir)/Doxyfile.gen
|
||||||
doxygen $(top_builddir)/Doxyfile.gen
|
doxygen $(top_builddir)/Doxyfile.gen
|
||||||
|
|
||||||
# The intention with the following rules is that all of the Doxygen
|
# The intention with the following rules is that all of the Doxygen
|
||||||
|
|
@ -283,13 +283,13 @@ doxygen: $(top_builddir)/Doxyfile.gen
|
||||||
# run, since it's quite possible that the user will not have a complete
|
# run, since it's quite possible that the user will not have a complete
|
||||||
# TeX + Doxygen + dot environment on their own system.
|
# TeX + Doxygen + dot environment on their own system.
|
||||||
|
|
||||||
$(top_builddir)/doc/refman.pdf: doxygen
|
$(top_builddir)/doc/refman.pdf: doc/html
|
||||||
(cd $(srcdir)/doc/latex && make)
|
(cd $(top_builddir)/doc/latex && make)
|
||||||
cp $(srcdir)/doc/latex/refman.pdf $@
|
cp $(top_builddir)/doc/latex/refman.pdf $@
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
$(MKDIR_P) $(DESTDIR)$(datadir)/$(PACKAGE)/doc/html
|
$(MKDIR_P) $(DESTDIR)$(datadir)/$(PACKAGE)/doc/html
|
||||||
$(INSTALL_DATA) $(srcdir)/doc/html/* \
|
$(INSTALL_DATA) $(top_builddir)/doc/html/* \
|
||||||
$(DESTDIR)$(datadir)/$(PACKAGE)/doc/html
|
$(DESTDIR)$(datadir)/$(PACKAGE)/doc/html
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
|
|
@ -297,9 +297,8 @@ uninstall-local:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
(cd /usr/local/stow; sudo stow -D cppunit) # switch to /opt version
|
(cd /usr/local/stow; sudo stow -D cppunit) # switch to /opt version
|
||||||
make distcheck \
|
make -j3 distcheck \
|
||||||
CPPFLAGS="-I/usr/local/include -I/usr/local/include/boost-1_35 -I/opt/local/include " \
|
CPPFLAGS="-I/usr/local/include -I/usr/local/include/boost-1_35 -I/opt/local/include " \
|
||||||
CXXFLAGS="-Wall -ansi -Wextra" \
|
|
||||||
LDFLAGS="-L/usr/local/lib -L/opt/local/lib"
|
LDFLAGS="-L/usr/local/lib -L/opt/local/lib"
|
||||||
(cd /usr/local/stow; sudo stow cppunit) # switch back to debug version
|
(cd /usr/local/stow; sudo stow cppunit) # switch back to debug version
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue