[Pkg-erlang-commits] r1723 - yaws/trunk/debian

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Tue Aug 18 08:10:45 UTC 2015


Author: sgolovan
Date: 2015-08-18 08:10:45 +0000 (Tue, 18 Aug 2015)
New Revision: 1723

Added:
   yaws/trunk/debian/erlang-yaws.maintscript.in
Modified:
   yaws/trunk/debian/changelog
   yaws/trunk/debian/control
   yaws/trunk/debian/rules
Log:
yaws
Use maintscript, fixed version in control.


Modified: yaws/trunk/debian/changelog
===================================================================
--- yaws/trunk/debian/changelog	2015-08-18 07:28:52 UTC (rev 1722)
+++ yaws/trunk/debian/changelog	2015-08-18 08:10:45 UTC (rev 1723)
@@ -11,7 +11,7 @@
   * Moved the directory for custom Yaws modules from /usr/lib/yaws/custom to
     /usr/local/lib/yaws.
 
- -- Sergei Golovan <sgolovan at debian.org>  Tue, 18 Aug 2015 09:03:50 +0300
+ -- Sergei Golovan <sgolovan at debian.org>  Tue, 18 Aug 2015 11:02:13 +0300
 
 yaws (1.98-5) unstable; urgency=medium
 

Modified: yaws/trunk/debian/control
===================================================================
--- yaws/trunk/debian/control	2015-08-18 07:28:52 UTC (rev 1722)
+++ yaws/trunk/debian/control	2015-08-18 08:10:45 UTC (rev 1723)
@@ -43,7 +43,7 @@
 Architecture: any
 Depends: ${erlang:Depends}, erlang-yaws (= ${binary:Version}), ${misc:Depends}
 Suggests: yaws-yapp
-Replaces: yaws-yapp (<< 1.99-1)
+Replaces: yaws-yapp (<< 1.99)
 Description: Erlang application for deploying Yaws webserver applications
  Yaws-yapp (Yaws application handler) is a helper application.
  It takes care of adding, and removing, the applications into a running

Added: yaws/trunk/debian/erlang-yaws.maintscript.in
===================================================================
--- yaws/trunk/debian/erlang-yaws.maintscript.in	                        (rev 0)
+++ yaws/trunk/debian/erlang-yaws.maintscript.in	2015-08-18 08:10:45 UTC (rev 1723)
@@ -0,0 +1 @@
+dir_to_symlink /usr/lib/yaws yaws- at YAWS_VSN@ 1.99-1~

Modified: yaws/trunk/debian/rules
===================================================================
--- yaws/trunk/debian/rules	2015-08-18 07:28:52 UTC (rev 1722)
+++ yaws/trunk/debian/rules	2015-08-18 08:10:45 UTC (rev 1723)
@@ -17,6 +17,8 @@
 DESTDIR1=$(CURDIR)/debian/erlang-yaws
 TMPDIR=$(CURDIR)/debian/tmp
 
+-include $(CURDIR)/vsn.mk
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -51,6 +53,7 @@
 	#
 	rm -f erl_crash.dump
 	rm -f debian/yaws-*.postinst debian/yaws-*.postrm
+	rm -f debian/erlang-yaws.maintscript
 
 override_dh_auto_configure:
 	dh_testdir
@@ -110,6 +113,9 @@
 	mv $(TMPDIR)/usr/lib/yapp-*/priv $(TMPDIR)/var/yaws/yapp-priv
 	mv $(TMPDIR)/usr/lib/yapp-*/doc $(TMPDIR)/var/yaws/yapp-doc
 	#
+	sed -e "s/@YAWS_VSN@/$(YAWS_VSN)/g" \
+	    debian/erlang-yaws.maintscript.in >debian/erlang-yaws.maintscript || exit 1
+	#
 	dh_install -a
 
 override_dh_auto_install-indep:




More information about the Pkg-erlang-commits mailing list