[Pkg-jed-commit] r579 - jed/trunk/debian

Jörg Sommer jo-guest at alioth.debian.org
Sun Feb 25 23:38:41 CET 2007


Author: jo-guest
Date: 2007-02-25 23:38:39 +0100 (Sun, 25 Feb 2007)
New Revision: 579

Modified:
   jed/trunk/debian/rules
Log:
• debian/rules
  · For the build-indep target configure must be run, otherwise make install
    fails. Therefore, I've added a target config.status to run configure and
    added it as dependency to build-stamp and binary-indep.

  · The hack with faking src/objs/jed and run make install to get the SLang
    and documentation files does not work anymore. I asked John to provide a
    two targets.


Modified: jed/trunk/debian/rules
===================================================================
--- jed/trunk/debian/rules	2007-02-25 16:37:10 UTC (rev 578)
+++ jed/trunk/debian/rules	2007-02-25 22:38:39 UTC (rev 579)
@@ -33,11 +33,14 @@
 	# fixme-upstream
 	rm -f src/config.h
 
-build: build-stamp
-build-stamp: patch-stamp
+config.status: patch-stamp
 	dh_testdir
 	./configure "CFLAGS=$(CFLAGS)" --prefix=/usr/share --exec-prefix=/usr --with-x
 
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+
 	#
 	# --- MAKE ---
 	#
@@ -53,16 +56,14 @@
 
 	touch build-stamp
 
-binary-indep: patch-stamp
+binary-indep: config.status
 	dh_testdir
 	dh_testroot
 	# keep dh_install informations (debian/files) and debian/tmp
 	dh_clean -i --keep
 	dh_installdirs -i
 
-	if ! [ -e src/objs/jed ]; then > src/objs/jed; fi
 	make DESTDIR=$(jed-common) install
-	if ! [ -s src/objs/jed ]; then rm src/objs/jed; fi
 	rm -r $(jed-common)/usr/bin/ $(jed-common)/usr/share/man/
 	# fixme-upstream
 	rm -r $(jed-common)/usr/share/jed/bin/




More information about the Pkg-jed-commit mailing list