[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem building ratpoison



Got a problem building ratpoison:

  # fakeroot dpkg-buildpackage -b -uc
  dpkg-buildpackage: source package is ratpoison
  dpkg-buildpackage: source version is 0.0.5-1
  dpkg-buildpackage: source maintainer is Gergely Nagy <8@free.bsd.hu>
  dpkg-buildpackage: build architecture is i386
   debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386
DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux
DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux
DEB_HOST_GNU_TYPE=i386-linux
  dh_testdir
  dh_testroot
  rm -f build-stamp configure-stamp patch-stamp
  make distclean
  make[1]: Entering directory `.../ratpoison-0.0.5'
  make[1]: *** No rule to make target `distclean'.  Stop.
  make[1]: Leaving directory `.../ratpoison-0.0.5'
  make: *** [clean1] Error 2

Corrected by applying this patch:

--- rules.orig  Sat Dec  9 16:22:21 2000
+++ rules       Sat Dec  9 16:29:10 2000
@@ -65,12 +65,13 @@
        $(MAKE)
        touch build-stamp
 
+distclean: clean
 clean: clean1 unpatch
 clean1:
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp patch-stamp
-       $(MAKE) distclean
+       @if test -f Makefile; then $(MAKE) distclean; fi
        dh_clean
 
 install: build

Cheers,
Cristian

-- 
Be careful, life will kill you.



Reply to: