SVN devscripts commit: r525 - in trunk: . debian

Stefano Zacchiroli zack at alioth.debian.org
Thu Feb 22 13:11:08 CET 2007


Author: zack
Date: 2007-02-22 13:11:08 +0100 (Thu, 22 Feb 2007)
New Revision: 525

Added:
   trunk/debian/dirs
   trunk/debian/links
Modified:
   trunk/Makefile
   trunk/debian/changelog
Log:
delegated (some of) dir and link management to debhelpers

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2007-02-22 10:19:14 UTC (rev 524)
+++ trunk/Makefile	2007-02-22 12:11:08 UTC (rev 525)
@@ -99,14 +99,8 @@
 	    $(GEN_MAN1S_fr) $(CWRAPPERS) libvfork.o libvfork.so.0
 
 install: all
-	mkdir -p $(DESTDIR)$(BINDIR)
 	cp $(SCRIPTS) $(DESTDIR)$(BINDIR)
-	cd $(DESTDIR)$(BINDIR) && ln -s debchange dch
-	cd $(DESTDIR)$(BINDIR) && ln -s debi debc
-	cd $(DESTDIR)$(BINDIR) && ln -s cvs-debi cvs-debc
-	mkdir -p $(DESTDIR)$(LIBDIR)
 	cp $(LIBS) $(DESTDIR)$(LIBDIR)
-	mkdir -p $(DESTDIR)$(PERLMOD_DIR)
 	cp -a $(PERL_MODULES) $(DESTDIR)$(PERLMOD_DIR)
 	# Special treatment for debpkg
 	mv $(DESTDIR)$(BINDIR)/debpkg $(DESTDIR)$(PERLMOD_DIR)
@@ -115,15 +109,11 @@
 	cp $(MAN1S) $(DESTDIR)$(MAN1DIR)
 	mkdir -p $(DESTDIR)$(MAN5DIR)
 	cp $(MAN5S) $(DESTDIR)$(MAN5DIR)
-	cd $(DESTDIR)$(MAN1DIR) && ln -s debchange.1 dch.1
 	mkdir -p $(DESTDIR)$(MAN1DIR_fr)
 	-cd $(MANS_fr_DIR) && cp $(MAN1S_fr) $(DESTDIR)$(MAN1DIR_fr)
 	-cp $(GEN_MAN1S_fr) $(DESTDIR)$(MAN1DIR_fr)
 	mkdir -p $(DESTDIR)$(MAN5DIR_fr)
 	-cd $(MANS_fr_DIR) && cp $(MAN5S_fr) $(DESTDIR)$(MAN5DIR_fr)
-	cd $(DESTDIR)$(MAN1DIR_fr) && \
-	    if [ -f debchange.1 ]; then ln -s debchange.1 dch.1; fi
-	mkdir -p $(DESTDIR)$(EXAMPLES_DIR)
 	cp $(EXAMPLES) $(DESTDIR)$(EXAMPLES_DIR)
 #	-find $(DESTDIR) -type d -name '.svn' -exec rm -r \{\} \;
 #	-find $(DESTDIR) -type d -name 'CVS' -exec rm -r \{\} \;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-02-22 10:19:14 UTC (rev 524)
+++ trunk/debian/changelog	2007-02-22 12:11:08 UTC (rev 525)
@@ -29,8 +29,10 @@
     - bumped to debhelper 5
   * debian/examples
     - moved examples under examples/, install examples/* as examples
+  * debian/dirs, debian/links
+    - delegated (some of) directory and symlink creation to debhelpers
 
- -- Stefano Zacchiroli <zack at debian.org>  Thu, 22 Feb 2007 10:49:16 +0100
+ -- Stefano Zacchiroli <zack at debian.org>  Thu, 22 Feb 2007 13:09:34 +0100
 
 devscripts (2.9.27) unstable; urgency=low
 

Added: trunk/debian/dirs
===================================================================
--- trunk/debian/dirs	2007-02-22 10:19:14 UTC (rev 524)
+++ trunk/debian/dirs	2007-02-22 12:11:08 UTC (rev 525)
@@ -0,0 +1,3 @@
+usr/bin
+usr/lib/devscripts
+usr/share/devscripts

Added: trunk/debian/links
===================================================================
--- trunk/debian/links	2007-02-22 10:19:14 UTC (rev 524)
+++ trunk/debian/links	2007-02-22 12:11:08 UTC (rev 525)
@@ -0,0 +1,6 @@
+/usr/bin/cvs-debi				/usr/bin/cvs-debc
+/usr/bin/debchange				/usr/bin/dch
+/usr/bin/debi					/usr/bin/debc
+/usr/share/devscripts/conf.default		/usr/share/doc/devscripts/devscripts.conf.ex
+/usr/share/man/fr/man1/debchange.1.gz		/usr/share/man/fr/man1/dch.1.gz
+/usr/share/man/man1/debchange.1.gz		/usr/share/man/man1/dch.1.gz




More information about the Devscripts-devel mailing list