[Git][debian-gis-team/tirex][master] Don't use template for tirex.links.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Oct 8 09:28:23 BST 2021



Bas Couwenberg pushed to branch master at Debian GIS Project / tirex


Commits:
fe8c5842 by Bas Couwenberg at 2021-10-08T10:27:39+02:00
Don't use template for tirex.links.

- - - - -


3 changed files:

- debian/rules
- + debian/tirex.links
- − debian/tirex.links.in


Changes:

=====================================
debian/rules
=====================================
@@ -6,21 +6,10 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-TEMPLATES=$(wildcard debian/*.in)
-MAPNIK_PLUGIN_BASE=\/usr\/lib\/mapnik\/$(shell echo `ls /usr/lib/mapnik/ -v | tail -n1`)\/input
-
-templates:
-	for TEMPLATE in $(TEMPLATES) ; do \
-	    sed -e 's/@MAPNIK_PLUGIN_BASE@/$(MAPNIK_PLUGIN_BASE)/g' $$TEMPLATE > `echo $$TEMPLATE | sed 's/.in$$//'` ; \
-	done
-
 %:
 	dh $@ --with apache2
 
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/tmp
 
-override_dh_auto_configure: templates
-	dh_auto_configure --
-
 .PHONY: templates


=====================================
debian/tirex.links
=====================================
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+echo "$(mapnik-plugin-base) /usr/share/tirex/mapnik/input"


=====================================
debian/tirex.links.in deleted
=====================================
@@ -1 +0,0 @@
- at MAPNIK_PLUGIN_BASE@ /usr/share/tirex/mapnik/input



View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/commit/fe8c584202035912a7cef98f9d124b8b9713fbb9

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/commit/fe8c584202035912a7cef98f9d124b8b9713fbb9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20211008/1e6f4a04/attachment.htm>


More information about the Pkg-grass-devel mailing list