[Pkg-erlang-commits] r1394 - erlang/trunk/debian
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Wed Dec 28 19:55:25 UTC 2011
Author: sgolovan
Date: 2011-12-28 19:55:25 +0000 (Wed, 28 Dec 2011)
New Revision: 1394
Modified:
erlang/trunk/debian/changelog
erlang/trunk/debian/rules
Log:
[erlang]
* Included all HiPE application sources into erlang-src package
(closes: #653417).
Modified: erlang/trunk/debian/changelog
===================================================================
--- erlang/trunk/debian/changelog 2011-12-24 13:31:04 UTC (rev 1393)
+++ erlang/trunk/debian/changelog 2011-12-28 19:55:25 UTC (rev 1394)
@@ -2,10 +2,12 @@
* Upload to unstable.
* Remove a bunch of additional files on clean.
- * Verified that R15B builds fine on GNU/Hurd (closes:#636510).
+ * Verified that R15B builds fine on GNU/Hurd (closes: #636510).
* Build SMP-aware Erlang emulator for GNU/Hurd.
+ * Included all HiPE application sources into erlang-src package
+ (closes: #653417).
- -- Sergei Golovan <sgolovan at debian.org> Sat, 24 Dec 2011 17:28:34 +0400
+ -- Sergei Golovan <sgolovan at debian.org> Wed, 28 Dec 2011 22:16:01 +0400
erlang (1:15.b-dfsg-1) experimental; urgency=low
Modified: erlang/trunk/debian/rules
===================================================================
--- erlang/trunk/debian/rules 2011-12-24 13:31:04 UTC (rev 1393)
+++ erlang/trunk/debian/rules 2011-12-28 19:55:25 UTC (rev 1394)
@@ -20,6 +20,7 @@
-include ${ROOT_DIR}/lib/webtool/vsn.mk
-include ${ROOT_DIR}/lib/common_test/vsn.mk
-include ${ROOT_DIR}/lib/snmp/vsn.mk
+-include ${ROOT_DIR}/lib/hipe/vsn.mk
SOURCE_VERSION=$(shell dpkg-parsechangelog | sed -ne's!^Version: \(.*\)-.*!\1!p')
ABI_VERSION=$(shell cat debian/control | sed -ne's!^Provides: erlang-abi-\(.*\)!\1!p' | head -1)
HIPE_ARCHES=$(shell cat debian/control | grep '^Architecture:' | egrep -v '(all|any)' | sed -e 's/^Architecture: *//')
@@ -284,6 +285,18 @@
# Remove useless Install and manpage formatting scripts
rm -v $(INSTALL_DIR)/usr/lib/erlang/Install
rm -rv $(INSTALL_DIR)/usr/lib/erlang/misc
+
+ # Copy forgotten HiPE sources to make sute they'll end up in the
+ # erlang-src package
+ for file in lib/hipe/*/*.erl lib/hipe/*/*.hrl lib/hipe/*/*.inc ; do \
+ fname=$$(basename $${file}) ; \
+ subdir=$$(basename $$(dirname $${file})) ; \
+ if [ ! -f $(INSTALL_DIR)/usr/lib/erlang/lib/hipe-$(HIPE_VSN)/$${subdir}/$${fname} ] ; then \
+ install -m 755 -d $(INSTALL_DIR)/usr/lib/erlang/lib/hipe-$(HIPE_VSN)/$${subdir} ; \
+ install -m 644 $${file} \
+ $(INSTALL_DIR)/usr/lib/erlang/lib/hipe-$(HIPE_VSN)/$${subdir} ; \
+ fi ; \
+ done
endef
# manpages builds section 1 manual pages
More information about the Pkg-erlang-commits
mailing list