#! /bin/sh /usr/share/dpatch/dpatch-run ## 11_fix_installinc.dpatch by Andreas Henriksson ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: gnokii.pc was missing because install-includes in common/Makefile ## DP: was never being triggered. @DPATCH@ diff -urNad gnokii-0.6.21~/Makefile gnokii-0.6.21/Makefile --- gnokii-0.6.21~/Makefile 2007-11-11 17:01:30.000000000 +0100 +++ gnokii-0.6.21/Makefile 2007-11-16 18:34:35.000000000 +0100 @@ -139,7 +139,7 @@ install-includes: @for dir in $(INSTALL_INCLUDES); do \ if [ -e $$dir/Makefile ]; then \ - $(MAKE) -C $$dir install; \ + $(MAKE) -C $$dir install-includes; \ fi; \ done diff -urNad gnokii-0.6.21~/include/Makefile gnokii-0.6.21/include/Makefile --- gnokii-0.6.21~/include/Makefile 2007-11-11 17:01:31.000000000 +0100 +++ gnokii-0.6.21/include/Makefile 2007-11-16 18:35:01.000000000 +0100 @@ -29,6 +29,8 @@ all: @echo +install-includes: install + install: $(INSTALL) -d $(DESTDIR)$(includedir)/gnokii @for xxx in $(INSTALL_HEADERS); do \ @@ -44,4 +46,4 @@ depend dep: @echo -.PHONY: all install clean dep depend +.PHONY: all install-includes install clean dep depend