Package: openct
Version: 0.6.19-1
Severity: normal
Tag: patch

the doc/Makefile* has a bug, it removes doc/api.out directory.
that way you always need to rebuild from a fresh source, which
is annoying.

here is a patch to fix that.

Regards, Andreas
This is a bug in the build process that will remove real content,
and thus not allow re-building openct correctly (api doc will be missing).

diff -udrNPp openct-0.6.19-1/doc/Makefile.am openct-0.6.19-0/doc/Makefile.am
--- openct-0.6.19-1/doc/Makefile.am	2009-07-29 09:04:32.000000000 +0200
+++ openct-0.6.19-0/doc/Makefile.am	2010-02-10 09:41:21.000000000 +0100
@@ -28,4 +28,4 @@ $(abs_builddir)/api.out:
 endif
 
 clean-local:
-	-rm -fr api.out
+	-rm -f api.out
diff -udrNPp openct-0.6.19-1/doc/Makefile.in openct-0.6.19-0/doc/Makefile.in
--- openct-0.6.19-1/doc/Makefile.in	2010-01-07 10:54:48.000000000 +0100
+++ openct-0.6.19-0/doc/Makefile.in	2010-02-10 09:41:21.000000000 +0100
@@ -677,7 +677,7 @@ uninstall-am: uninstall-dist_apidocDATA 
 @SVN_CHECKOUT_FALSE@	$(LN_S) "$(srcdir)/api.out" api.out
 
 clean-local:
-	-rm -fr api.out
+	-rm -f api.out
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

Reply via email to