tags 441705 + patch
thanks

Attached are two patch files. One that patches debian/rules and one that was 
meant to be dropped into debian/patches. Unfortunately that won't work due to 
bug #414305, so the options are a) use dpatch instead or b) patch the source 
directly. Makefile.in is patched to avoid having to run automake.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
(This patch intentionally has reduced context.)
diff -Nur gok-1.2.5/help/gok/C/Makefile.in gok-1.2.5.new/help/gok/C/Makefile.in
--- gok-1.2.5/help/gok/C/Makefile.in	2007-09-17 14:43:21.000000000 +0200
+++ gok-1.2.5.new/help/gok/C/Makefile.in	2007-09-17 14:43:24.000000000 +0200
@@ -302,1 +302,1 @@
-DISTCLEANFILES = legal.xml 
+DISTCLEANFILES = 
diff -Nur gok-1.2.5/Makefile.in gok-1.2.5.new/Makefile.in
--- gok-1.2.5/Makefile.in	2007-05-25 19:36:38.000000000 +0200
+++ gok-1.2.5.new/Makefile.in	2007-09-17 14:46:11.000000000 +0200
@@ -910,1 +910,2 @@
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
+	mostlyclean-local
@@ -946,7 +947,8 @@
 	uninstall uninstall-am uninstall-desktopDATA \
 	uninstall-gladeDATA uninstall-iconDATA uninstall-info-am \
 	uninstall-local uninstall-pixmapsDATA uninstall-pkgconfigDATA \
-	uninstall-pkgdataDATA uninstall-schemaDATA uninstall-xmlDATA
+	uninstall-pkgdataDATA uninstall-schemaDATA uninstall-xmlDATA \
+	mostlyclean-local
 
 @INTLTOOL_DESKTOP_RULE@
 @INTLTOOL_XAM_RULE@
@@ -994,6 +996,8 @@
 
 uninstall-local:
 	rm -rf $(DESTDIR)$(datadir)/gok
+
+mostlyclean-local:
 	@for l in *; do 						\
 		if [ -f $$l/main.kbd ]; then 				\
 			rm -rf $$l;					\
diff -u gok-1.2.5/debian/rules gok-1.2.5/debian/rules
--- gok-1.2.5/debian/rules
+++ gok-1.2.5/debian/rules
@@ -16,0 +17,13 @@
+
+makebuilddir/gok-doc::
+	if [ ! -f debian/docs-backup.tar.gz ]; then \
+		tar -czf debian/docs-backup.tar.gz docs/reference; \
+	fi
+
+clean::
+	if [ -f debian/docs-backup.tar.gz ]; then \
+		rm -rf docs/reference; \
+		tar -xzf debian/docs-backup.tar.gz; \
+		rm debian/docs-backup.tar.gz; \
+	fi
+

Attachment: pgpGEhnSYifoV.pgp
Description: PGP signature

Reply via email to