File: cleaning_doc.dpatch

package info (click to toggle)
libcommoncpp2 1.8.1-6.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,272 kB
  • ctags: 4,532
  • sloc: cpp: 29,219; sh: 10,352; ansic: 1,134; makefile: 232; xml: 5
file content (29 lines) | stat: -rw-r--r-- 946 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh /usr/share/dpatch/dpatch-run
## cleaning_doc.dpatch by Rene Mayorga <rmayorga@debian.org.sv>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: adding clean-docs target to doc/Makefile.in (Debian bug #424498)

@DPATCH@
Index: libcommoncpp2-1.8.1/doc/Makefile.in
===================================================================
--- libcommoncpp2-1.8.1.orig/doc/Makefile.in	2010-11-01 09:10:19.000000000 +1100
+++ libcommoncpp2-1.8.1/doc/Makefile.in	2012-05-19 10:13:01.000000000 +1000
@@ -307,12 +307,16 @@
 Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in
 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
 
-mostlyclean-libtool:
+mostlyclean-libtool: clean-docs
 	-rm -f *.lo
 
 clean-libtool:
 	-rm -rf .libs _libs
 
+clean-docs:
+	-rm -rf html
+	-rm -rf latex
+
 .texi.info:
 	restore=: && backupdir="$(am__leading_dot)am$$$$" && \
 	am__cwd=`pwd` && $(am__cd) $(srcdir) && \