ispman/debian rules,1.4,1.5
Joerg Delker <[email protected]> Thu, 07 Jun 2007 13:00:28 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/debian
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31245/debian
Modified Files:
rules
Log Message:
moved installation from ./ispman-install to debian/tmp
Index: rules
===================================================================
RCS file: /cvsroot/ispman/ispman/debian/rules,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rules 7 Jun 2007 11:56:26 -0000 1.4
+++ rules 7 Jun 2007 13:00:25 -0000 1.5
@@ -27,8 +27,6 @@
build-indep: build-indep-stamp
build-indep-stamp: config.status
- # Add here commands to compile the indep part of the package.
- #$(MAKE) doc
$(MAKE)
touch build-indep-stamp
@@ -40,7 +38,7 @@
# Add here commands to clean up after the build process.
-$(MAKE) clean
rm -f makedefs build-indep-stamp
- rm -rf $(CURDIR)/ispman-install
+ rm -rf $(CURDIR)/debian/tmp
dh_clean
unpatch:
@@ -52,27 +50,26 @@
touch patch-stamp
install: install-indep
-install-indep: ispman-install
+install-indep:
dh_testdir
dh_testroot
dh_clean -k -i
dh_installdirs -i
- # Add here commands to install the indep part of the package into
- # debian/<package>-doc.
- #INSTALLDOC#
- dh_install -i
-ispman-install:
- $(MAKE) -i install DESTDIR=$(CURDIR)/ispman-install
- # docs are not installed by ISPMan's makefile. So we copy it handish.
- # it would be cleaner to change ISPMans makefile to do so.
- cp -rp docs ispman-install/
- cp -rp contrib ispman-install/
- chmod -x `find ispman-install -type f -exec file \{\} \; | grep -vi 'perl script' | awk -F: '{print $$1}'`
- chmod +x ispman-install/bin/*
- cp ispman-install/conf/ispman.conf.example debian/ispman.conf
- chmod o-r debian/ispman.conf
+ $(MAKE) -i install DESTDIR=$(CURDIR)/debian/tmp
+
+ # distribute installed ispman to package dirs
+ dh_install --sourcedir=debian/tmp
+
+ dh_installchangelogs docs/ChangeLog
+
+ # manage distribution specific files
+ cp debian/maintainer/ispman debian/ispman-agent/usr/sbin
+
+ # remove obsolete files
+ find debian/ispman-doc -name CVS -exec rm -rf \{\} \;
+
# Must not depend on anything. This is to be called by
# binary-arch/binary-indep
# in another 'make' thread.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/