[Pkg-gridengine-commits] [pkg-gridengine] 08/16: Improve legibility of d/rules
Afif Elghraoui
afif at moszumanska.debian.org
Sun Jul 10 03:05:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository pkg-gridengine.
commit 026ae0605ac26761d587366e7524d1dc3e5b9071
Author: Afif Elghraoui <afif at debian.org>
Date: Sat Jul 9 16:15:18 2016 -0700
Improve legibility of d/rules
---
debian/rules | 51 ++++++++++++++++++++++++++++++---------------------
1 file changed, 30 insertions(+), 21 deletions(-)
diff --git a/debian/rules b/debian/rules
index fd2ff09..c02027f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,13 +35,18 @@ export LD_RUN_PATH=/usr/lib/gridengine
override_dh_auto_build: build-stamp
build-stamp: $(QUILT_STAMPFN)
- cd source && \
- ${PRECMD} sh scripts/bootstrap.sh && \
- ${PRECMD} \
- ./aimk -with-jemalloc -DDEFAULT_EDITOR='\"sensible-editor\"' -no-remote -debug \
- -DSGE_LD_PATH='\"/usr/lib/gridengine/\"' -DDEFAULT_EDITOR='\"sensible-editor\"' $(NOOPT) $(PARALLEL) && \
- ${PRECMD} ./aimk -man && \
- ${PRECMD} ant drmaa.javadoc juti.javadoc jgdi.javadoc jjsv.javadoc
+ cd source \
+ && ${PRECMD} sh scripts/bootstrap.sh \
+ && ${PRECMD} ./aimk \
+ -with-jemalloc \
+ -DDEFAULT_EDITOR='\"sensible-editor\"' \
+ -no-remote \
+ -debug \
+ -DSGE_LD_PATH='\"/usr/lib/gridengine/\"' \
+ -DDEFAULT_EDITOR='\"sensible-editor\"' \
+ $(NOOPT) $(PARALLEL) \
+ && ${PRECMD} ./aimk -man \
+ && ${PRECMD} ant drmaa.javadoc juti.javadoc jgdi.javadoc jjsv.javadoc
touch build-stamp
override_dh_clean:
@@ -65,24 +70,28 @@ override_dh_auto_install:
install -d debian/tmp/usr
install -d debian/tmp/usr/share
install -d debian/tmp/lib/$(DEB_HOST_GNU_TYPE)/security
- cd source && /usr/bin/yes | \
- ${PRECMD} scripts/distinst -basedir ${CURDIR}/debian -vdir tmp/usr -allall -noexit
- cd debian/tmp/usr && \
- mv man share && \
- rm -rf hadoop dtrace ckpt util/sgeSMF start_gui_installer && \
- rm -f util/resources/loadsensors/interix-loadsensor.sh && \
- rm -f doc/arc_depend* doc/javadocs/index.html && \
- rm -rf util/gui-installer && \
- mv util/resources/drmaa4ruby .
+ cd source && /usr/bin/yes | ${PRECMD} scripts/distinst \
+ -basedir ${CURDIR}/debian \
+ -vdir tmp/usr \
+ -allall \
+ -noexit
+ cd debian/tmp/usr \
+ && mv man share \
+ && $(RM) -r hadoop dtrace ckpt util/sgeSMF start_gui_installer \
+ && $(RM) util/resources/loadsensors/interix-loadsensor.sh \
+ && $(RM) doc/arc_depend* doc/javadocs/index.html \
+ && $(RM) -r util/gui-installer \
+ && mv util/resources/drmaa4ruby .
# qmake clashes with qt
cd debian/tmp/usr/bin/lx-* && mv qmake qmake_sge
# Rename some of the spool utils so we can replace them with wrapper scripts
# which set LD_LIBRARY_PATH for the spool libraries
- cd debian/tmp/usr/utilbin/lx* && \
- mv spooledit spooledit.bin && mv spooldefaults spooldefaults.bin && \
- install -m 755 $(CURDIR)/debian/spool.wrapper spooledit && \
- install -m 755 $(CURDIR)/debian/spool.wrapper spooldefaults && \
- mv $(CURDIR)/debian/tmp/usr/examples/jobsbin/lx*/work .
+ cd debian/tmp/usr/utilbin/lx* \
+ && mv spooledit spooledit.bin \
+ && mv spooldefaults spooldefaults.bin \
+ && install -m 755 $(CURDIR)/debian/spool.wrapper spooledit \
+ && install -m 755 $(CURDIR)/debian/spool.wrapper spooldefaults \
+ && mv $(CURDIR)/debian/tmp/usr/examples/jobsbin/lx*/work .
# Make manpage names sane
cd debian/tmp/usr/share/man && \
for k in hostnameutils submit; do \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gridengine/pkg-gridengine.git
More information about the Pkg-gridengine-commits
mailing list