--- libupnp-1.6.19/upnp/sample/Makefile.am.orig	2013-11-15 19:50:02.000000000 +0400
+++ libupnp-1.6.19/upnp/sample/Makefile.am	2016-06-03 20:30:43.545081667 +0300
@@ -65,8 +65,8 @@
 if WITH_DOCUMENTATION
 examplesdir = $(docdir)/examples
 examples_DATA = \
-	$(tv_ctrlpt_SOURCES) \
-	$(tv_device_SOURCES)
+	$(sort $(tv_ctrlpt_SOURCES) \
+	$(tv_device_SOURCES) )
 endif
 
 EXTRA_DIST = \
