[med-svn] [Git][med-team/mptp][master] 3 commits: d/clean: new: cleanup leftover C files produced by lexer.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Aug 25 18:43:41 BST 2024



Étienne Mollier pushed to branch master at Debian Med / mptp


Commits:
3c931c6d by Étienne Mollier at 2024-08-25T19:40:55+02:00
d/clean: new: cleanup leftover C files produced by lexer.

- - - - -
eb0c66cd by Étienne Mollier at 2024-08-25T19:41:20+02:00
d/rules: preserve the original manual page from changes.

Closes: #1048555

- - - - -
791ccf85 by Étienne Mollier at 2024-08-25T19:42:19+02:00
Include further fixes to the changelog.

Hopefully that's the last amendment before upload to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -12,8 +12,10 @@ mptp (0.2.5-1) unstable; urgency=medium
   * d/control: declare compliance to standards version 4.7.0.
   * disable_mtune_native.patch: declare forwarding not-needed.
   * d/control: migrate to pkgconf.
+  * d/clean: new: cleanup leftover C files produced by lexer.
+  * d/rules: preserve the original manual page from changes. (Closes: #1048555)
 
- -- Étienne Mollier <emollier at debian.org>  Sun, 25 Aug 2024 19:26:31 +0200
+ -- Étienne Mollier <emollier at debian.org>  Sun, 25 Aug 2024 19:42:11 +0200
 
 mptp (0.2.4-3) unstable; urgency=medium
 


=====================================
debian/clean
=====================================
@@ -0,0 +1,6 @@
+src/lex_rtree.c
+src/lex_utree.c
+src/parse_rtree.c
+src/parse_rtree.h
+src/parse_utree.c
+src/parse_utree.h


=====================================
debian/rules
=====================================
@@ -9,6 +9,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 	dh $@
 
 override_dh_auto_configure:
+	# Preserve the original manual page shipped with the source.
+	cp man/mptp.1 man/mptp.1.orig
 	dh_auto_configure -- --with-bash-completions=`pkg-config --variable=completionsdir bash-completion`
 
 override_dh_auto_build:
@@ -18,3 +20,7 @@ override_dh_auto_install:
 	sed -i 's/Supress/Suppress/' man/mptp.1
 	sed -i 's/conjuction/conjunction/' man/mptp.1
 	dh_auto_install
+
+execute_after_dh_auto_clean:
+	# Restore preserved manual page, if any.
+	test ! -r man/mptp.1.orig || mv man/mptp.1.orig man/mptp.1



View it on GitLab: https://salsa.debian.org/med-team/mptp/-/compare/05d2a58d0858ab2221a30598624f7a2a6d7a3268...791ccf85daaa94c0ccbf3b2868bb4738e4405b2c

-- 
View it on GitLab: https://salsa.debian.org/med-team/mptp/-/compare/05d2a58d0858ab2221a30598624f7a2a6d7a3268...791ccf85daaa94c0ccbf3b2868bb4738e4405b2c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240825/503ac344/attachment-0001.htm>


More information about the debian-med-commit mailing list