Commit 5005ec81 authored by Dominique Dumont's avatar Dominique Dumont

rules: move aside pdf shipped with source

These files are rebuilt when packaging. For next release, these files
will be removed from source.

The ltm tarball also contains a bundle of c files (pre_gen/mpi.c) that
is not used during compilation.
parent 9c99e9bd
......@@ -29,6 +29,9 @@ override_dh_auto_build:
echo "Building libtommath"
dh_auto_build --buildsystem=makefile -- -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool
# move out the built doc shipped in tarball. Using .dod instead of
# .bak because .bak files are cleaned up by dh_clean
for i in $(CURDIR)/doc/*.pdf; do mv $$i $$i.dod; done
echo "Building docs"
$(MAKE) manual docs
......@@ -51,6 +54,8 @@ endif
override_dh_clean:
dh_clean doc/tommath.out demo/.libs/ demo/demo.lo libtommath.pc debian/libtool/
# move back the built doc shipped in tarball
for i in $(CURDIR)/doc/*.pdf.dod; do if [ -e $$i ] ; then mv $$i $${i%%.dod}; fi; done
override_dh_installchangelogs:
dh_installchangelogs changes.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment