From 9c218b5ef3563108c382f6403c59eca6436bbedd Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 10 Jun 2012 20:16:26 -0600 Subject: [PATCH] lose more stuff we don't actually need from the package --- debian/cc1111.install | 6 +++--- debian/rules | 12 +++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/debian/cc1111.install b/debian/cc1111.install index 8e5f1fa..c62f9ec 100644 --- a/debian/cc1111.install +++ b/debian/cc1111.install @@ -13,6 +13,6 @@ usr/share/sdcc/lib/ usr/bin/s51 usr/bin/sdcdb usr/bin/*.el usr/share/emacs/site-lisp/sdcc-ucsim/ -usr/share/doc/ucsim/*.html usr/share/doc/sdcc-ucsim/ -usr/share/doc/ucsim/*.gif usr/share/doc/sdcc-ucsim/ -usr/share/doc/ucsim/*.jpg usr/share/doc/sdcc-ucsim/ +usr/share/doc/ucsim/*.html usr/share/doc/cc1111/ +usr/share/doc/ucsim/*.gif usr/share/doc/cc1111/ +usr/share/doc/ucsim/*.jpg usr/share/doc/cc1111/ diff --git a/debian/rules b/debian/rules index 9913097..34ba6db 100755 --- a/debian/rules +++ b/debian/rules @@ -97,7 +97,6 @@ install-stamp: build mv debian/tmp/usr/share/doc/sdcc/* debian/tmp/usr/share/doc/cc1111/ # Add some scripts mkdir -p debian/tmp/usr/share/sdcc/scripts - install -o root -g root -m 755 support/scripts/inc2h-pic16.pl debian/tmp/usr/share/sdcc/scripts install -o root -g root -m 755 support/scripts/inc2h.pl debian/tmp/usr/share/sdcc/scripts install -o root -g root -m 755 support/scripts/keil2sdcc.pl debian/tmp/usr/share/sdcc/scripts @@ -117,6 +116,17 @@ install-stamp: build $(CURDIR)/debian/cc1111/usr/share/lintian/overrides/cc1111 # Install examples cp -a device/examples $(CURDIR)/debian/cc1111/usr/share/doc/cc1111 + rm -rf $(CURDIR)/debian/cc1111/usr/share/doc/cc1111/examples/ds400 + rm -rf $(CURDIR)/debian/cc1111/usr/share/doc/cc1111/examples/ds390 + rm -rf $(CURDIR)/debian/cc1111/usr/share/doc/cc1111/examples/xa51 + # clean up things cc1111 doesn't need + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/pic + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/pic16 + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/ds400 + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/hc08 + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/z80 + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/ds390 + rm -rf $(CURDIR)/debian/cc1111/usr/share/sdcc/lib/src/gbz80 touch $@ # Must not depend on anything. This is to be called by binary-arch/binary-indep -- 2.30.2