[Pkg-javascript-commits] [node-expat] 327/371: Tidy: Reorganize rules variables.
Jonas Smedegaard
dr at jones.dk
Sun Feb 28 10:00:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-expat.
commit 8b6271191879e3a0ae14c6581b39e68de04eb864
Author: Jonas Smedegaard <dr at jones.dk>
Date: Tue May 19 22:04:50 2015 +0200
Tidy: Reorganize rules variables.
---
debian/rules | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/debian/rules b/debian/rules
index 5a9afc1..236d94e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,28 +16,28 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
--include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/langcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
pkg = node-node-expat
+DEB_UPSTREAM_URL = https://github.com/node-xmpp/$(DEB_UPSTREAM_PACKAGE)/archive
+DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
+
# suppress bogus build-dependency (triggered by convenience code copy)
CDBS_BUILD_DEPENDS_rules_buildcore_config-guess-sub =
-# Needed by upstream build process and at runtime
+# Needed by upstream build and at runtime
deps = nodejs, node-bindings, node-nan
-# Needed by upstream build process
+# Needed by upstream build
bdeps = nodejs-dev, node-gyp, pkg-config, libexpat-dev, node-vows, node-iconv
CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps)
CDBS_DEPENDS_$(pkg) = $(deps)
-DEB_UPSTREAM_URL = https://github.com/node-xmpp/$(DEB_UPSTREAM_PACKAGE)/archive
-DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
-
DEB_INSTALL_DOCS_$(pkg) += README.markdown
# Fix backwards compatibility. See bug#678762
@@ -62,8 +62,15 @@ clean::
# Node modules have an uncommon path and extension preventing
# autodetection by dh_shlibdeps or dh_fixperms, so we do it manually
binary-strip-IMPL/$(pkg)::
- $(if $(is_debug_package)$(filter nostrip,$(DEB_BUILD_OPTIONS)),,find "$(cdbs_curdestdir)" -name "*.node" -exec strip --remove-section=.comment --remove-section=.note --strip-unneeded {} +)
+ $(if $(is_debug_package)$(filter nostrip,$(DEB_BUILD_OPTIONS)),\
+ ,\
+ find "$(cdbs_curdestdir)" -name "*.node" \
+ -exec strip \
+ --remove-section=.comment \
+ --remove-section=.note \
+ --strip-unneeded {} +)
binary-fixup/$(pkg)::
find "$(cdbs_curdestdir)" -name "*.node" -exec chmod -x {} +
binary-predeb-IMPL/$(pkg)::
- find "$(cdbs_curdestdir)" -name "*.node" -exec dpkg-shlibdeps -Tdebian/$(cdbs_curpkg).substvars {} +
+ find "$(cdbs_curdestdir)" -name "*.node" \
+ -exec dpkg-shlibdeps -Tdebian/$(cdbs_curpkg).substvars {} +
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git
More information about the Pkg-javascript-commits
mailing list