summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@debian.org>2022-07-10 04:29:22 -0300
committerRafael Laboissière <rafael@debian.org>2022-07-10 04:29:22 -0300
commit85cf8dc492ba1f2fbedcf21cace5a76d9c52b26f (patch)
treea9e8f423076f0725d54d0267f5b2bdd25341cf3d
parent704be4107413d7bd80130aa99527b4b1c18ddc55 (diff)
Proper cleaning of upstream files after building
+ d/control: Build-depend on dh-octave >= 1.2.3 This version removes the files automatically generated by the configure script. + d/clean: Drop obsolete file + d/rules: Cleanup files in the doc/ directory Gbp-Dch: Full
-rw-r--r--debian/clean13
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules3
3 files changed, 4 insertions, 14 deletions
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 0b01268..0000000
--- a/debian/clean
+++ /dev/null
@@ -1,13 +0,0 @@
-doc/*.pdf
-doc/*.dvi
-doc/*.info
-doc/*.texi
-doc/*.eps
-doc/DOCSTRINGS
-src/Makefile
-src/config.h
-src/config.log
-src/config.status
-src/*.o
-src/*.oct
-src/oct-alt-includes.h
diff --git a/debian/control b/debian/control
index c0157ec..4136084 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Uploaders: Rafael Laboissière <rafael@debian.org>,
Section: math
Priority: optional
Build-Depends: debhelper-compat (= 13),
- dh-octave (>= 1.2.2),
+ dh-octave (>= 1.2.3),
dh-sequence-octave,
ghostscript,
gnuplot-nox,
diff --git a/debian/rules b/debian/rules
index 2187dbb..27091c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,6 @@ override_dh_auto_build:
done
make -C doc comms.pdf comms.info
endif
+
+execute_after_dh_clean:
+ make -C doc maintainer-clean