[Pkg-erlang-commits] r1760 - yaws/trunk/debian
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Sat Mar 26 09:15:34 UTC 2016
Author: sgolovan
Date: 2016-03-26 09:15:33 +0000 (Sat, 26 Mar 2016)
New Revision: 1760
Modified:
yaws/trunk/debian/rules
Log:
[yaws]
Fixed installing the package files.
Modified: yaws/trunk/debian/rules
===================================================================
--- yaws/trunk/debian/rules 2016-03-26 08:17:29 UTC (rev 1759)
+++ yaws/trunk/debian/rules 2016-03-26 09:15:33 UTC (rev 1760)
@@ -54,6 +54,7 @@
rm -f erl_crash.dump
rm -f debian/yaws-*.postinst debian/yaws-*.postrm
rm -f debian/erlang-yaws.maintscript
+ rm -f *.stamp
override_dh_auto_configure:
dh_testdir
@@ -67,7 +68,7 @@
--sysconfdir=/etc \
--localstatedir=/var
-override_dh_auto_build-arch:
+build-arch.stamp:
dh_testdir
#
# Compile the package.
@@ -75,8 +76,11 @@
#
# Compile the Yapp application
cd applications/yapp ; TYPE="$(TYPE)" $(MAKE)
+ touch build-arch.stamp
-override_dh_auto_build-indep: override_dh_auto_build-arch
+override_dh_auto_build-arch: build-arch.stamp
+
+override_dh_auto_build-indep: build-arch.stamp
dh_testdir
#
# Build applications included into yaws distribution
@@ -91,7 +95,7 @@
# Do nothing because the tests require downloading some tools from
# the Internet.
-override_dh_auto_install-arch:
+install-arch.stamp:
dh_testdir
#
# Install the package into debian/tmp.
@@ -113,13 +117,13 @@
debian/erlang-yaws.maintscript.in >debian/erlang-yaws.maintscript || exit 1
#
dh_install -a
+ touch install-arch.stamp
-override_dh_auto_install-indep: override_dh_auto_install-arch
+override_dh_auto_install-arch: install-arch.stamp
+
+override_dh_auto_install-indep: install-arch.stamp
dh_testdir
#
- # Install the package into debian/tmp.
- $(MAKE) install DESTDIR=$(TMPDIR)
- #
# Install applications (and READMEs) included into yaws distribution
# Application beams go to /usr/lib/yaws/$application/ebin
# Other application files go to /usr/share/yaws-$application/docroot
More information about the Pkg-erlang-commits
mailing list