[Pkg-voip-commits] r9049 - /ptlib/trunk/debian/rules

kilian at alioth.debian.org kilian at alioth.debian.org
Mon Jun 27 13:33:19 UTC 2011


Author: kilian
Date: Mon Jun 27 13:33:19 2011
New Revision: 9049

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9049
Log:
cleanup hello sample before using it for libpt-doc

Modified:
    ptlib/trunk/debian/rules

Modified: ptlib/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/debian/rules?rev=9049&op=diff
==============================================================================
--- ptlib/trunk/debian/rules (original)
+++ ptlib/trunk/debian/rules Mon Jun 27 13:33:19 2011
@@ -44,6 +44,9 @@
 	ln -s lib* lib ; LD_LIBRARY_PATH=$(CURDIR)/lib samples/hello_world/obj*/hello
 	# if this won't work, we needn't even try going any further...
 	rm lib
+	# make sure samples are clean before we install them into libpt-doc
+	$(MAKE) PTLIBDIR=$(CURDIR) -C samples/hello_world clean
+	rm -rf samples/hello_world/obj_*
 
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"




More information about the Pkg-voip-commits mailing list