tags 424111 patch
thanks

Here  is a  patch for  this issue.  The problem  was that  @MODULES@ was
interpreted by  when building Makefile from Makefile.in  while it should
not be. I  escape the last @  to avoid this. Also the  Makefile is never
executable and therefore distclean was never called.

--- xlockmore-5.22/Makefile.in~	2006-04-24 23:56:47.000000000 +0200
+++ xlockmore-5.22/Makefile.in	2008-03-16 13:06:50.000000000 +0100
@@ -9,7 +9,7 @@
 
 MAKE_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; $(MAKE) $@ ) ; done
 # convenient not to use configure just to clean
-MAKEIN_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; sed s/@MODULES@/\#/ Makefile.in > Makefile ; $(MAKE) $@ ) ; done
+MAKEIN_SUBDIR = for dir in $(SUBDIRS) ; do ( cd $$dir ; sed s/@MODULES\@/\#/ Makefile.in > Makefile ; $(MAKE) $@ ) ; done
 
 all :
 	@$(MAKE_SUBDIR)
--- xlockmore-5.22/debian/rules~	2008-03-16 13:06:27.000000000 +0100
+++ xlockmore-5.22/debian/rules	2008-03-16 13:06:37.000000000 +0100
@@ -74,7 +74,7 @@
 	dh_testroot
 	rm -f build-stamp
 
-	if [ -x Makefile ]; then $(MAKE) distclean; fi
+	if [ -f Makefile ]; then $(MAKE) distclean; fi
 	rm -f debian/xlock
 	rm -f debian/menu debian/xlockmore.menu
 	rm -rf debian/tmp
-- 
 /* Binary compatibility is good American knowhow fuckin' up. */
        2.2.16 /usr/src/linux/arch/sparc/kernel/sunos_ioctl.c

Reply via email to