Author: frankie
Date: 2008-06-17 09:22:35 +0000 (Tue, 17 Jun 2008)
New Revision: 1648

Modified:
   packages/gmt/branches/4.2.1/debian/changelog
   packages/gmt/branches/4.2.1/debian/rules
Log:
Fixed symlink creation


Modified: packages/gmt/branches/4.2.1/debian/changelog
===================================================================
--- packages/gmt/branches/4.2.1/debian/changelog        2008-06-17 09:03:19 UTC 
(rev 1647)
+++ packages/gmt/branches/4.2.1/debian/changelog        2008-06-17 09:22:35 UTC 
(rev 1648)
@@ -1,6 +1,15 @@
+gmt (4.2.1-4) unstable; urgency=low
+
+  Merged from 4.3.1 in trunk:
+
+  * Fixed /etc symlink creation in debian/rules.
+
+ -- Francesco Paolo Lovergine <[EMAIL PROTECTED]>  Mon, 16 Jun 2008 16:02:02 
+0200
+
 gmt (4.2.1-3) unstable; urgency=low
 
   Changes merged from 4.3.1 in trunk:
+
   * Changed build-dep to libnetcdf-dev instead of netcdfg-dev now
     obsolete 
   * Removed C-shell build-dep.

Modified: packages/gmt/branches/4.2.1/debian/rules
===================================================================
--- packages/gmt/branches/4.2.1/debian/rules    2008-06-17 09:03:19 UTC (rev 
1647)
+++ packages/gmt/branches/4.2.1/debian/rules    2008-06-17 09:22:35 UTC (rev 
1648)
@@ -103,7 +103,9 @@
        # Configuration files are still at the wrong place, let's fix this
        mv $(DESTDIR)/usr/share/gmt/conf/*.conf $(DESTDIR)/etc/gmt/
        install -m644 debian/coastline.conf $(DESTDIR)/etc/gmt/
-       ln -fs /etc/gmt/*.conf $(DESTDIR)/usr/share/gmt/
+       for file in $(DESTDIR)/etc/gmt/*.conf; do \
+               ln -fs /etc/gmt/`basename $$file` 
$(DESTDIR)/usr/share/gmt/`basename $$file`; \
+       done
 
        # GMT wrapper does not help in /usr/lib/gmt/bin (not in path by default)
        # So: Move it to /usr/bin and patch it a bit locally to alter the PATH 
var


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to