[Pkg-sdl-commits] [SCM] Packaging of SDL_ttf branch, master, updated. debian/2.0.9-1.1-15-g7fe2cd8
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Fri Jan 27 13:06:17 UTC 2012
The following commit has been merged in the master branch:
commit 7fe2cd8851d9a68b855af29b708154c1d4327672
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Fri Jan 27 13:05:35 2012 +0000
Copy files (modifying header includes) to install as examples in the -dev package
diff --git a/debian/rules b/debian/rules
index 5be0c43..3ab1079 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,11 @@ override_dh_auto_configure:
dh_auto_configure -- $(confflags)
override_dh_install:
+ # copy files (modifying header includes) to install as examples in the
+ # -dev package
+ sed -e 's:"SDL.h":\<SDL.h\>:' -e 's:"SDL_ttf.h":\<SDL_ttf.h\>:' showfont.c > debian/showfont.c
+ sed -e 's:"SDL.h":\<SDL.h\>:' -e 's:"SDL_ttf.h":\<SDL_ttf.h\>:' glfont.c > debian/glfont.c
+
dh_install --fail-missing -XlibSDL_ttf.la
override_dh_auto_installchangelogs:
--
Packaging of SDL_ttf
More information about the pkg-sdl-commits
mailing list