Control: tags -1 patch

One need also to tweak d/rules and *.install files. Eg:

$ cat debian/rules
#!/usr/bin/make -f
# Copyright 2008 Sylvestre Ledru <sylvestre.le...@inria.fr>

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_MAKE_ENVVARS        = SLIBDIR=usr/lib/$(DEB_HOST_MULTIARCH)

DEB_MAKE_INSTALL_TARGET  := install DESTDIR=$(CURDIR)/debian/tmp/


$ cat debian/*.install
debian/tmp/usr/lib/*/lib*.so.*
debian/tmp/usr/include
debian/tmp/usr/lib/*/lib*.so
Description: Make it easy to override
Author: Mathieu Malaterre <ma...@debian.org>
Bug-Debian: http://bugs.debian.org/775405

--- gl2ps-1.3.8.orig/Makefile
+++ gl2ps-1.3.8/Makefile
@@ -12,7 +12,7 @@ OBJS = gl2ps.o
 SLIBNAME_SO = lib$(NAME).so
 SLIBNAME_WITH_MAJOR = $(SLIBNAME_SO).$(MAJOR)
 SLIBNAME = $(SLIBNAME_WITH_MAJOR).$(MINOR).$(MICRO)
-SLIBDIR = /usr/lib
+SLIBDIR ?= /usr/lib
 INCLUDEDIR = /usr/include
 
 %.o: %.c

Reply via email to