r38256 - /packages/pastix/trunk/debian/rules
saramito-guest at users.alioth.debian.org
saramito-guest at users.alioth.debian.org
Sun Mar 27 17:40:25 UTC 2011
Author: saramito-guest
Date: Sun Mar 27 17:40:15 2011
New Revision: 38256
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38256
Log:
pastix debianization
Modified:
packages/pastix/trunk/debian/rules
Modified: packages/pastix/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/pastix/trunk/debian/rules?rev=38256&op=diff
==============================================================================
--- packages/pastix/trunk/debian/rules (original)
+++ packages/pastix/trunk/debian/rules Sun Mar 27 17:40:15 2011
@@ -10,14 +10,15 @@
#export DH_VERBOSE=1
# Variables declaration
+ABI_VERSION=1
VERSION=3184
-ABI_VERSION=1
+
LIBPASTIX=libpastix${ABI_VERSION}
LIBPASTIX_DEV=libpastix-dev
PASTIX_DOC=pastix-doc
PASTIX_RUNTIME=pastix
+
TMPDIR=debian/tmp-pastix
-
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -29,38 +30,47 @@
configure: configure-stamp
configure-stamp:
dh_testdir
- cp debian/config-debian.in src/config.in
+ # add here commands
+ cp debian/config-seq-nosmp.in src/config.in
+ cp debian/ChangeLog ChangeLog
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
- cd src && $(MAKE)
+ # add here commands
+ cd src; $(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
+ rm -f ChangeLog
dh_clean
- # Removing installation directories
- rm -Rf $(TMPDIR)
+ rm -Rf $(TMPDIR)
install: build
dh_testdir
dh_testroot
dh_clean
dh_installdirs
- # Add here commands to install the package into DESTDIR
- mkdirhier $(CURDIR)/$(TMPDIR)/usr/include/pastix
- cp -av install/*.h $(CURDIR)/$(TMPDIR)/usr/include/pastix
- cp -av install/*.inc $(CURDIR)/$(TMPDIR)/usr/include/pastix
- mkdirhier $(CURDIR)/$(TMPDIR)/usr/lib
- cp -av install/*.a $(CURDIR)/$(TMPDIR)/usr/lib
- mkdirhier $(CURDIR)/$(TMPDIR)/usr/bin
- cp -av install/*.sh $(CURDIR)/$(TMPDIR)/usr/bin
- cp -av install/*-conf $(CURDIR)/$(TMPDIR)/usr/bin
+
+ # add here commands to install the package into DESTDIR
+ # $(MAKE) install DESTDIR=$(CURDIR)/$(TMPDIR)
+ mkdirhier $(CURDIR)/$(TMPDIR)/usr/include/pastix
+ cp -p install/*.h $(CURDIR)/$(TMPDIR)/usr/include/pastix
+ cp -p install/*.inc $(CURDIR)/$(TMPDIR)/usr/include/pastix
+ mkdirhier $(CURDIR)/$(TMPDIR)/usr/lib
+ cp -p install/*.a $(CURDIR)/$(TMPDIR)/usr/lib
+ mkdirhier $(CURDIR)/$(TMPDIR)/usr/bin
+ cp -p install/p*.sh $(CURDIR)/$(TMPDIR)/usr/bin/pastix-conf
+ mkdirhier $(CURDIR)/$(TMPDIR)/usr/share/man/man1
+ cp -p debian/*.1 $(CURDIR)/$(TMPDIR)/usr/share/man/man1
+ gzip -9 $(CURDIR)/$(TMPDIR)/usr/share/man/man1/*
+ mkdirhier $(CURDIR)/$(TMPDIR)/usr/share/doc/pastix-doc
+ cp -p doc/refcard/refcard.pdf $(CURDIR)/$(TMPDIR)/usr/share/doc/pastix-doc/pastix-refcard.pdf
dh_movefiles --sourcedir=$(TMPDIR)
More information about the debian-science-commits
mailing list