[SCM] pythia8: PYTHIA event generator (C++) of high energy physics branch, master, updated. upstream/8.1.65-10-g793c0e6
Lifeng Sun
lifongsun at gmail.com
Fri Oct 5 13:31:39 UTC 2012
The following commit has been merged in the master branch:
commit 64849a129cdb6ca8381cd50169e8c76628cb9bc1
Author: Lifeng Sun <lifongsun at gmail.com>
Date: Fri Oct 5 20:53:31 2012 +0800
Specify installdir.
diff --git a/debian/rules b/debian/rules
index ca3034c..165a6e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,13 +22,21 @@ UPVER=$(shell echo $(DEBVER) | \
export USRCXXFLAGS USRLDFLAGSSHARED UPVER
override_dh_auto_configure:
- dh_auto_configure -- --enable-shared --with-hepmc=/usr \
+ dh_auto_configure -- \
+ --enable-shared \
+ --with-hepmc=/usr \
+ --prefix=/usr \
+ --installdir=$(CURDIR)/debian/tmp/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
for f in debian/lib*.install.in; do \
sed -e 's, at DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH),' $$f \
> $${f%.in}; \
done
+override_dh_auto_install:
+ mkdir -p $(CURDIR)/debian/tmp/usr
+ dh_auto_install
+
override_dh_install:
dh_install
-rm -f debian/libpythia8-dev/usr/include/pythia8/HepMCInterface.h
--
pythia8: PYTHIA event generator (C++) of high energy physics
More information about the debian-science-commits
mailing list