summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralgernon <algernon>2001-03-06 19:06:30 +0000
committeralgernon <algernon>2001-03-06 19:06:30 +0000
commit6b29dcea13ecb98bc86ca4fc7ff0ac9f4c6799e3 (patch)
treeca73ca9f89d83315cfad2c35d09bda97b1cc4a54
parented0e40e4575940c86bbdf6413891fcc6046fff93 (diff)
downloadratpoison-6b29dcea13ecb98bc86ca4fc7ff0ac9f4c6799e3.zip
doh! remove COPYING from the deb as per policy
-rwxr-xr-xdebian/rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 11da1e1..5289ece 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ build-deb/$(DEB_HOST_ARCH)/config-stamp:
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-xterm=x-terminal-emulator \
- --disable-debug
+ --disable-debug \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE)
touch $@
@@ -42,14 +42,14 @@ build-deb/$(DEB_HOST_ARCH)/config-stamp:
build: config build-deb/$(DEB_HOST_ARCH)/build-stamp
build-deb/$(DEB_HOST_ARCH)/build-stamp:
dh_testdir
- -$(MAKE) -C build-deb/$(DEB_HOST_ARCH) all
+ $(MAKE) -C build-deb/$(DEB_HOST_ARCH) all
touch $@
# clean - remove build directories
clean:
dh_testdir
dh_testroot
- $(MAKE) -C build-deb/$(DEB_HOST_ARCH) distclean
+ -$(MAKE) -C build-deb/$(DEB_HOST_ARCH) distclean
rm -Rf build-deb/$(DEB_HOST_ARCH)
@for m in $(shell dh_listpackages); do \
echo "dh_clean -p$$m -Pdebian/$(DEB_HOST_ARCH)/$$m" ;\
@@ -69,6 +69,7 @@ install: build
done
$(MAKE) -C build-deb/$(DEB_HOST_ARCH) \
install DESTDIR=$(PWD)/debian/$(DEB_HOST_ARCH)/ratpoison
+ rm -f $(PWD)/debian/$(DEB_HOST_ARCH)/ratpoison/usr/share/doc/COPYING
# these build the various packages
ratpoison: install