summaryrefslogtreecommitdiffstats
path: root/debian/squeeze/applications/ksplash-engine-moodin
diff options
context:
space:
mode:
Diffstat (limited to 'debian/squeeze/applications/ksplash-engine-moodin')
-rwxr-xr-xdebian/squeeze/applications/ksplash-engine-moodin/debian/rules67
1 files changed, 17 insertions, 50 deletions
diff --git a/debian/squeeze/applications/ksplash-engine-moodin/debian/rules b/debian/squeeze/applications/ksplash-engine-moodin/debian/rules
index c41d87b76..4542a777a 100755
--- a/debian/squeeze/applications/ksplash-engine-moodin/debian/rules
+++ b/debian/squeeze/applications/ksplash-engine-moodin/debian/rules
@@ -36,27 +36,7 @@ endif
debian/debiandirs: admin/debianrules
perl -w admin/debianrules echodirs > debian/debiandirs
-patch-stamp:
- # Apply Debian specific patches
- if test ! -f patch-stamp; then \
- for patch in $(CURDIR)/debian/patches/*.diff ;\
- do \
- echo APPLYING PATCH\: $${patch##*/};\
- patch -p1 < $$patch ;\
- done ;\
- touch patch-stamp ;\
- fi
-
-patch: patch-stamp
-
-config.status: configure patch
- dh_testdir
-
- CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
-
-build: build-stamp
-
-build-stamp: config.status
+config.status:
dh_testdir
! [ -f /usr/share/libtool/ltmain.sh ] || \
@@ -64,9 +44,22 @@ build-stamp: config.status
! [ -f /usr/share/libtool/config/ltmain.sh ] || \
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub admin/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess admin/config.guess
+endif
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
+
+ CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
$(MAKE)
@@ -75,37 +68,11 @@ build-stamp: config.status
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
-
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
- cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
- cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
- cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ rm -f build-stamp
- make -f admin/Makefile.common cvs
- touch debian/stamp-bootstrap
-
- -$(MAKE) distclean
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
+ [ ! -f Makefile ] || $(MAKE) distclean
- # Remove Debian specific patches
- if test -f patch-stamp; then \
- for patch in $(CURDIR)/debian/patches/*.diff ;\
- do \
- echo REMOVING PATCH\: $${patch##*/};\
- patch -p1 -R < $$patch ;\
- done ;\
- rm -f patch-stamp ;\
- fi
-
- dh_clean
+ dh_clean
install: build
dh_testdir