aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/050_entity-h-clean.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/050_entity-h-clean.patch b/debian/patches/050_entity-h-clean.patch
new file mode 100644
index 0000000..694ec4d
--- /dev/null
+++ b/debian/patches/050_entity-h-clean.patch
@@ -0,0 +1,17 @@
+Description: Remove entity.h when `make clean'
+ The file entity.h is regenerated at build time, so it should be
+ removed when `make clean'.
+Forwarded: http://www.sic.med.tohoku.ac.jp/~satodai/w3m-dev/201102.month/4451.html
+Author: Tatsuya Kinoshita <tats@debian.org>
+
+diff -urN w3m-0.5.3.orig/Makefile.in w3m-0.5.3/Makefile.in
+--- w3m-0.5.3.orig/Makefile.in 2011-01-04 18:22:18.000000000 +0900
++++ w3m-0.5.3/Makefile.in 2011-02-06 15:58:12.000000000 +0900
+@@ -288,6 +288,7 @@
+ clean: sweep
+ -$(RM) -f *.o *.a $(TARGETS) mktable$(EXT)
+ -$(RM) -f funcname.tab
++ -$(RM) -f entity.h
+ -$(RM) -f funcname.c funcname1.h funcname2.h tagtable.c functable.c
+ -for dir in w3mimg libwc; \
+ do \