r2392 - branches/xml-im-exporter/feature/debian/debian

Marcus Better marcusb-guest at costa.debian.org
Tue Sep 12 10:05:00 UTC 2006


Author: marcusb-guest
Date: 2006-09-12 10:04:59 +0000 (Tue, 12 Sep 2006)
New Revision: 2392

Modified:
   branches/xml-im-exporter/feature/debian/debian/rules
Log:
Clean up.


Modified: branches/xml-im-exporter/feature/debian/debian/rules
===================================================================
--- branches/xml-im-exporter/feature/debian/debian/rules	2006-09-12 10:04:45 UTC (rev 2391)
+++ branches/xml-im-exporter/feature/debian/debian/rules	2006-09-12 10:04:59 UTC (rev 2392)
@@ -21,13 +21,8 @@
 PKGNAME		:= libxml-im-exporter-java
 INSTALLDIR	:= $(CURDIR)/debian/$(PKGNAME)
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch configure-stamp
-
 build: build-stamp
-build-stamp: configure-stamp 
+build-stamp:
 	dh_testdir
 	$(ANT_INVOKE) jar javadocs test
 	touch build-stamp
@@ -35,7 +30,7 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
+	rm -f build-stamp
 	dh_clean
 	$(ANT_INVOKE) scrub
 
@@ -44,21 +39,18 @@
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
 	dh_install
 	dh_installchangelogs
 	dh_installdocs
 	mv $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/index.html \
 	   $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/README.html
-	mv $(INSTALLDIR)-doc/usr/share/doc/$(PKGNAME)-doc/javadoc \
-	   $(INSTALLDIR)-doc/usr/share/doc/$(PKGNAME)-doc/api
-	dh_installexamples
-	dh_installman
+	mv $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/javadoc \
+	   $(INSTALLDIR)/usr/share/doc/$(PKGNAME)/api
 	dh_link
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -66,8 +58,7 @@
 	dh_md5sums
 	dh_builddeb
 
-# Build architecture-dependent files here.
 binary-arch: build install
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




More information about the pkg-java-commits mailing list