[neon/backports-focal/libgwenhywfar/Neon/release] debian: debian/rules: Drop override_dh_auto_clean and use debian/clean instead

Micha Lenk null at kde.org
Mon Sep 27 15:37:13 BST 2021


Git commit ec36e96d9bd2d2aa4db6680409257381da49bce9 by Micha Lenk.
Committed on 15/09/2021 at 18:27.
Pushed by jriddell into branch 'Neon/release'.

debian/rules: Drop override_dh_auto_clean and use debian/clean instead

A  +7    -0    debian/clean
M  +0    -3    debian/man/Makefile
M  +1    -5    debian/rules

https://invent.kde.org/neon/backports-focal/libgwenhywfar/commit/ec36e96d9bd2d2aa4db6680409257381da49bce9

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..120afc8
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+debian/man/gct-tool.1.generated.txt
+debian/man/typemaker2.1.generated.txt
+debian/man/gct-tool.1
+debian/man/mklistdoc.1
+debian/man/typemaker.1
+debian/man/typemaker2.1
+debian/man/xmlmerge.1
diff --git a/debian/man/Makefile b/debian/man/Makefile
index f764fb1..c354247 100644
--- a/debian/man/Makefile
+++ b/debian/man/Makefile
@@ -18,6 +18,3 @@ typemaker2.1: typemaker2.1.txt typemaker2.1.generated.txt
 
 %:	%.txt
 	asciidoctor -d manpage -b manpage $*.txt
-
-clean:
-	rm -f *.generated.txt *.1
diff --git a/debian/rules b/debian/rules
index ed5cc3c..7a6257e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,11 +40,7 @@ override_dh_auto_build:
 override_dh_makeshlibs:
 	dh_makeshlibs -Xgwenhywfar/plugins
 
-override_dh_auto_clean:
-	$(MAKE) -C debian/man clean
-	dh_auto_clean
-
 %:
 	dh $@
 
-.PHONY:	override_dh_auto_configure override_dh_auto_build override_dh_auto_clean
+.PHONY:	override_dh_auto_configure override_dh_auto_build



More information about the Neon-commits mailing list