[PATCH] 1.20.0-clean_fix

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

 



Hi!

This is my first patch against gpm, as this was the most annoying before
generating more patches :)

A few fixes to the makefiles to remove all generated files when
'make clean' is called, so one can do a diff against the orig dir after a
'make clean' in the working directory.

Also note the file doc/gpm.info is generated and shouldn't be included
neither in the tarball nor in the cvs, but it is. Please remove.

Patch against both 1.20.0 and current cvs attached.

Regards,
-- 
pozsy
diff -Naur gpm-1.20.0/Makefile.in gpm-1.20.0-mod/Makefile.in
--- gpm-1.20.0/Makefile.in	Sat Feb 23 15:42:23 2002
+++ gpm-1.20.0-mod/Makefile.in	Fri Jun 14 08:39:27 2002
@@ -34,6 +34,7 @@
 uninstall:	do-uninstall
 
 clean: do-clean
+	rm -f config.log config.status config.cache Makefile Makefile.include
 
 Makefile: $(srcdir)/Makefile.in config.status
 	./config.status
diff -Naur gpm-1.20.0/doc/Makefile.in gpm-1.20.0-mod/doc/Makefile.in
--- gpm-1.20.0/doc/Makefile.in	Sat Feb 23 15:42:23 2002
+++ gpm-1.20.0-mod/doc/Makefile.in	Fri Jun 14 08:41:10 2002
@@ -108,7 +108,9 @@
 clean:
 	rm -f gpmdoc.ps gpmdoc.txt $(MANPAGES) *~ 
 	rm -f gpm.?? gpm.???
-	rm -f gpm.texinfo
+	rm -f gpm.info
+	rm -f doc.gpm
+	rm -f Makefile
 
 # install & uninstall
 
@@ -157,7 +159,6 @@
 	cd $(top_builddir) && $(SHELL) config.status
 
 distclean:	clean
-	rm -f Makefile doc.gpm
 
 # Maintainer portion, use at your own risk
 
diff -Naur gpm-1.20.0/src/Makefile.in gpm-1.20.0-mod/src/Makefile.in
--- gpm/src/Makefile.in~	Tue May 28 19:13:57 2002
+++ gpm/src/Makefile.in	Sun Jun 16 01:44:03 2002
@@ -133,9 +133,10 @@
 clean:
 	rm -f gpm $(PROG) libgpm.a libgpm.so libgpm.so.@abi_full@ $(RDEPS)
 	rm -f core *~ $(GOBJ) $(LOBJ) $(POBJ) $(PICS) gpm-root.c
+	rm -f headers/config.h Makefile
 
 distclean: clean
-	rm -f headers/config.h headers/config.h.in Makefile
+	rm -f headers/config.h.in
 
 # Configure & unconfigure
 
diff -Naur gpm-1.20.0/Makefile.in gpm-1.20.0-mod/Makefile.in
--- gpm-1.20.0/Makefile.in	Sat Feb 23 15:42:23 2002
+++ gpm-1.20.0-mod/Makefile.in	Fri Jun 14 08:39:27 2002
@@ -34,6 +34,7 @@
 uninstall:	do-uninstall
 
 clean: do-clean
+	rm -f config.log config.status config.cache Makefile Makefile.include
 
 Makefile: $(srcdir)/Makefile.in config.status
 	./config.status
diff -Naur gpm-1.20.0/doc/Makefile.in gpm-1.20.0-mod/doc/Makefile.in
--- gpm-1.20.0/doc/Makefile.in	Sat Feb 23 15:42:23 2002
+++ gpm-1.20.0-mod/doc/Makefile.in	Fri Jun 14 08:41:10 2002
@@ -108,7 +108,9 @@
 clean:
 	rm -f gpmdoc.ps gpmdoc.txt $(MANPAGES) *~ 
 	rm -f gpm.?? gpm.???
-	rm -f gpm.texinfo
+	rm -f gpm.info
+	rm -f doc.gpm
+	rm -f Makefile
 
 # install & uninstall
 
@@ -157,7 +159,6 @@
 	cd $(top_builddir) && $(SHELL) config.status
 
 distclean:	clean
-	rm -f Makefile doc.gpm
 
 # Maintainer portion, use at your own risk
 
diff -Naur gpm-1.20.0/src/Makefile.in gpm-1.20.0-mod/src/Makefile.in
--- gpm-1.20.0/src/Makefile.in	Sat Feb 23 15:42:23 2002
+++ gpm-1.20.0-mod/src/Makefile.in	Fri Jun 14 08:40:47 2002
@@ -128,9 +128,10 @@
 clean:
 	rm -f gpm $(PROG) libgpm.a libgpm.so.@abi_full@ $(RDEPS) core *~
 	rm -f $(GOBJ) $(LOBJ) $(POBJ) $(PICS) gpm-root.c
+	rm -f .depend headers/config.h Makefile
 
 distclean: clean
-	rm -f headers/config.h headers/config.h.in Makefile
+	rm -f headers/config.h.in
 
 # Configure & unconfigure
 

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]