[Pkg-electronics-commits] [pcb-rnd] 01/03: Updated 'dh clean' overrides
Dima Kogan
dima at secretsauce.net
Sat Feb 18 04:46:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkogan pushed a commit to branch master
in repository pcb-rnd.
commit 1d5fa1302fcab35f3bf51299ef7de41b9a8c30ee
Author: Dima Kogan <dima at secretsauce.net>
Date: Fri Feb 17 20:10:19 2017 -0800
Updated 'dh clean' overrides
The upstream build wasn't cleaning out many things before. It is now a long
better, but still keeps some stuff around. I'm updating the debian-specific
'clean' rule to clean out all the stuff
---
debian/rules | 39 ++++++---------------------------------
1 file changed, 6 insertions(+), 33 deletions(-)
diff --git a/debian/rules b/debian/rules
index c2ac10a..0ca417a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,42 +45,15 @@ override_dh_auto_configure:
--LDFLAGS='$(LDFLAGS)' \
--CFLAGS='$(CFLAGS) $(CPPFLAGS)'
-# Needed to retain src_plugins/export_dxf/README.orig
+# currently upstream has a bug where 'make clean' leaves behind some files. I
+# explicitly kill them here. Bug reported upstream on IRC.
+#
+# I forcibly keep README.orig. The debian-specific 'dh' tool cleans out all
+# .orig files, but this is a part of the upstream sources here
override_dh_clean:
dh_clean -XREADME.orig
-
-override_dh_auto_clean:
- # 'make clean' and 'make distclean' currently fail after an incomplete
- # clean, so I do this myself
- find . \( -name *.o -o -name *.so -o -name *_conf_fields.h \) -delete
- rm -f Makefile.conf
- rm -f config.h
- rm -f scconfig/Rev.stamp
- rm -f scconfig/config.cache
- rm -f scconfig/config.log
- rm -f scconfig/configure
- rm -f scconfig/core
- rm -f scconfig/cquote
- rm -f scconfig/revtest
- rm -f src/Makefile
- rm -f src/buildin.c
- rm -f src/compat_inc.h
- rm -f util/gsch2pcb-rnd/Makefile
- rm -f util/gsch2pcb-rnd/fp_init.c
- rm -f util/gsch2pcb-rnd/fp_init.h
- rm -f doc-rnd/conf/tree/appearance_loglevels.html
- rm -f src/conf_core_fields.h
- rm -f src/conf_internal.c
- rm -f src/generated_lists.h
- rm -f src/pcb-rnd
- rm -f src_3rd/sphash/sphash
rm -f src_plugins/dbus/dbus-introspect.h
- rm -f src_plugins/hid_gtk/menu_lht.c
- rm -f src_plugins/hid_lesstif/menu_lht.c
- rm -f src_plugins/query/fields_sphash.c
- rm -f src_plugins/query/fields_sphash.h
- rm -f util/gsch2pcb-rnd/gsch2pcb-rnd
- rm -f src_3rd/gts/Makefile
+ find . -name '*.o' -delete
# I want packages to go here regardless of how many packages I'm building
override_dh_auto_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/pcb-rnd.git
More information about the Pkg-electronics-commits
mailing list