[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/debian/dh-make
From: Ralf Nolden <Ralf.Nolden () post ! rwth-aachen ! de>
Date: 2003-01-02 16:17:44
[Download RAW message or body]
CVS commit by rnolden:
here, too
M +25 -4 rules 1.9
--- kdelibs/debian/dh-make/rules #1.8:1.9
@@ -23,4 +23,11 @@
endif
+ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
+ # Uncomment the following 2 lines to enable i686 optimziation
+ # You may want to tweak the settings to your likings
+ #export CFLAGS=-O3 -march=i686 -ffast-math -finline-functions
+ #export CXXFLAGS=-O3 -march=i686 -ffast-math -finline-functions
+endif
+
ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
export CFLAGS +=-O0 -mieee
@@ -30,6 +37,8 @@
-include debian/debiandirs
-debian/debiandirs: debian/debianrules
- perl -w debian/debianrules echodirs > debian/debiandirs
+# To be used with kde-style admin subdirectories if desired. debian/debiandirs is included in
+# this template.
+#debian/debiandirs: admin/debianrules
+# perl -w admin/debianrules echodirs > debian/debiandirs
configure: configure-stamp
@@ -37,5 +46,10 @@
dh_testdir
# Add here commands to configure the package.
- #CONFIGURE#
+ # make build directory
+ mkdir $(objdir)
+
+ # run configure with build tree $(objdir)
+ cd $(objdir) && \
+ ../configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) \
touch configure-stamp
@@ -46,6 +60,12 @@
# Add here commands to compile the package.
+ cd $(objdir) && \
$(MAKE)
+ # generate manpages
+ #for i in debian/*.sgml; do \
+ # docbook-to-man $$i > `dirname $$i`/`basename $$i .sgml`.1 ;\
+ #done
+
touch build-stamp
@@ -67,5 +87,6 @@
# Add here commands to install the package into debian/tmp
- #INSTALL#
+ cd $(objdir) && \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic